tutf8 encode seed (old wallets) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 90f5133983bcf9856745333e77e011b5648dad83 DIR parent 640d6641aa9b7a4a1f380faf0273f2eca5f3a3cd HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 5 May 2014 01:19:04 +0200 utf8 encode seed (old wallets) Diffstat: M lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1557,7 +1557,7 @@ class OldWallet(Deterministic_Wallet): self.create_account(mpk) def get_seed(self, password): - seed = pw_decode(self.seed, password) + seed = pw_decode(self.seed, password).encode('utf8') return seed def check_password(self, password): t@@ -1566,7 +1566,7 @@ class OldWallet(Deterministic_Wallet): def get_mnemonic(self, password): import mnemonic - s = pw_decode(self.seed, password) + s = self.get_seed(password) return ' '.join(mnemonic.mn_encode(s))