From 62541cc55fd447b2687ce3fddc51db6843f3c9f5 Mon Sep 17 00:00:00 2001 From: Nicola Larosa Date: Wed, 15 Nov 2017 13:33:21 +0100 Subject: [PATCH] Fix encoding error in trezorlib.client.ProtocolMixin.load_device_by_mnemonic (#153) --- trezorlib/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorlib/client.py b/trezorlib/client.py index 6eb42fb3cd..8cb7e895ac 100644 --- a/trezorlib/client.py +++ b/trezorlib/client.py @@ -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')