Browse Source

Fixes #445

The variable mnemonic_extension is already of type str and so
the call to decode() in displayWords was a bug.
master
Adam Gibson 6 years ago
parent
commit
8936cfcc72
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 2
      scripts/joinmarket-qt.py

2
scripts/joinmarket-qt.py

@ -1672,7 +1672,7 @@ class JMMainWindow(QMainWindow):
mb.setText("<br/>".join(seed_recovery_warning))
text = "<strong>" + words + "</strong>"
if mnemonic_extension:
text += "<br/><br/>Seed extension: <strong>" + mnemonic_extension.decode("utf-8") + "</strong>"
text += "<br/><br/>Seed extension: <strong>" + mnemonic_extension + "</strong>"
mb.setInformativeText(text)
mb.setStandardButtons(QMessageBox.Ok)
ret = mb.exec_()

Loading…
Cancel
Save