strip spaces around private key
This commit is contained in:
@@ -1631,7 +1631,7 @@ class ElectrumWindow(QMainWindow):
|
|||||||
|
|
||||||
text, ok = QInputDialog.getText(self, _('Import private key'), _('Private Key') + ':')
|
text, ok = QInputDialog.getText(self, _('Import private key'), _('Private Key') + ':')
|
||||||
if not ok: return
|
if not ok: return
|
||||||
sec = str(text)
|
sec = str(text).strip()
|
||||||
if self.wallet.use_encryption:
|
if self.wallet.use_encryption:
|
||||||
password = self.password_dialog()
|
password = self.password_dialog()
|
||||||
if not password:
|
if not password:
|
||||||
|
|||||||
Reference in New Issue
Block a user