mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-15 18:00:59 +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)
|
||||
|
||||
# Convert mnemonic to ASCII stream
|
||||
mnemonic = mnemonic.decode()
|
||||
mnemonic = mnemonic.encode()
|
||||
|
||||
m = Mnemonic('english')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user