Browse Source

convert address to str in sign_message; update tabs after import

283
ThomasV 12 years ago
parent
commit
c30deb28d3
  1. 4
      lib/gui_qt.py

4
lib/gui_qt.py

@ -1284,7 +1284,7 @@ class ElectrumWindow(QMainWindow):
password = None password = None
try: try:
signature = self.wallet.sign_message(sign_address.text(), str(sign_message.toPlainText()), password) signature = self.wallet.sign_message(str(sign_address.text()), str(sign_message.toPlainText()), password)
sign_signature.setText(signature) sign_signature.setText(signature)
except BaseException, e: except BaseException, e:
self.show_message(str(e)) self.show_message(str(e))
@ -1559,6 +1559,8 @@ class ElectrumWindow(QMainWindow):
QMessageBox.critical(None, "Unable to import key", "error") QMessageBox.critical(None, "Unable to import key", "error")
else: else:
QMessageBox.information(None, "Key imported", addr) QMessageBox.information(None, "Key imported", addr)
self.update_receive_tab()
self.update_history_tab()
except BaseException as e: except BaseException as e:
QMessageBox.critical(None, "Unable to import key", str(e)) QMessageBox.critical(None, "Unable to import key", str(e))

Loading…
Cancel
Save