The variable mnemonic_extension is already of type str and so
the call to decode() in displayWords was a bug.
This commit is contained in:
Adam Gibson 2019-11-24 20:27:29 +00:00
parent c52d1fb0d6
commit 8936cfcc72
No known key found for this signature in database
GPG key ID: 141001A1AF77F20B

View file

@ -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_()