Browse Source

strip spaces around private key

283
thomasv 12 years ago
parent
commit
3276c3394f
  1. 2
      lib/gui_qt.py

2
lib/gui_qt.py

@ -1631,7 +1631,7 @@ class ElectrumWindow(QMainWindow):
text, ok = QInputDialog.getText(self, _('Import private key'), _('Private Key') + ':')
if not ok: return
sec = str(text)
sec = str(text).strip()
if self.wallet.use_encryption:
password = self.password_dialog()
if not password:

Loading…
Cancel
Save