mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-16 02:10:55 +00:00
Fix encoding error in trezorlib.client.ProtocolMixin.load_device_by_mnemonic (#153)
This commit is contained in:
parent
5d2d621055
commit
62541cc55f
@ -1053,7 +1053,7 @@ class ProtocolMixin(object):
|
|||||||
mnemonic = Mnemonic.normalize_string(mnemonic)
|
mnemonic = Mnemonic.normalize_string(mnemonic)
|
||||||
|
|
||||||
# Convert mnemonic to ASCII stream
|
# Convert mnemonic to ASCII stream
|
||||||
mnemonic = mnemonic.decode()
|
mnemonic = mnemonic.encode()
|
||||||
|
|
||||||
m = Mnemonic('english')
|
m = Mnemonic('english')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user