strip spaces around private key

This commit is contained in:
thomasv 2013-01-11 18:01:40 +01:00
parent 8175eaed4b
commit 3276c3394f
1 changed files with 1 additions and 1 deletions

View File

@ -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: