From 2833a5bae93b891c54c6a15f06dd77173dd927d4 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 11 Oct 2016 11:52:15 +0200 Subject: [PATCH] fix: don't utf8 encode passphrase --- lib/keystore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/keystore.py b/lib/keystore.py index 90974ef08..331d16d8c 100644 --- a/lib/keystore.py +++ b/lib/keystore.py @@ -229,10 +229,10 @@ class Deterministic_KeyStore(Software_KeyStore): self.seed = self.format_seed(seed) def get_seed(self, password): - return pw_decode(self.seed, password).encode('utf8') + return pw_decode(self.seed, password) def get_passphrase(self, password): - return pw_decode(self.passphrase, password).encode('utf8') if self.passphrase else '' + return pw_decode(self.passphrase, password) if self.passphrase else ''