electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 2833a5bae93b891c54c6a15f06dd77173dd927d4
parent 9598c6999ff9ed986cfe1e51cbb03774ffceec6e
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 11 Oct 2016 11:52:15 +0200

fix: don't utf8 encode passphrase

Diffstat:
Mlib/keystore.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 ''