fix #655
This commit is contained in:
@@ -84,7 +84,7 @@ def is_old_seed(seed):
|
||||
|
||||
try:
|
||||
seed.decode('hex')
|
||||
is_hex = True
|
||||
is_hex = (len(seed) == 32)
|
||||
except Exception:
|
||||
is_hex = False
|
||||
|
||||
|
||||
@@ -1751,6 +1751,7 @@ class OldWallet(NewWallet):
|
||||
def create_watching_only_wallet(self, mpk):
|
||||
self.seed_version = OLD_SEED_VERSION
|
||||
self.storage.put('seed_version', self.seed_version, True)
|
||||
self.storage.put('master_public_key', mpk, True)
|
||||
self.create_account(mpk)
|
||||
|
||||
def get_seed(self, password):
|
||||
|
||||
Reference in New Issue
Block a user