strip spaces around private key
This commit is contained in:
parent
8175eaed4b
commit
3276c3394f
|
@ -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…
Reference in New Issue