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