From 1d8836c1738d6e55c838b59ca48d0da537fb9aac Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 12 Oct 2016 21:45:16 +0200 Subject: [PATCH] utfo encode get_seed for old wallets; fixes #1967 --- lib/keystore.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/keystore.py b/lib/keystore.py index 1c9f5a8b0..17c097cc9 100644 --- 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