commit 1d8836c1738d6e55c838b59ca48d0da537fb9aac
parent e01e7d8562343e874141938a6f64ee2e8cf4f794
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 12 Oct 2016 21:45:16 +0200
utfo encode get_seed for old wallets; fixes #1967
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/keystore.py b/lib/keystore.py
@@ -344,6 +344,9 @@ class Old_KeyStore(Deterministic_KeyStore):
Deterministic_KeyStore.__init__(self, d)
self.mpk = d.get('mpk')
+ def get_seed(self, password):
+ return pw_decode(self.seed, password).encode('utf8')
+
def dump(self):
d = Deterministic_KeyStore.dump(self)
d['mpk'] = self.mpk