tfix: don't utf8 encode passphrase - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 2833a5bae93b891c54c6a15f06dd77173dd927d4 DIR parent 9598c6999ff9ed986cfe1e51cbb03774ffceec6e HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 11 Oct 2016 11:52:15 +0200 fix: don't utf8 encode passphrase Diffstat: M lib/keystore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/keystore.py b/lib/keystore.py t@@ -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 ''