exit after seed message
This commit is contained in:
@@ -178,8 +178,11 @@ class Wallet:
|
|||||||
|
|
||||||
if self.seed_version not in [4, 6]:
|
if self.seed_version not in [4, 6]:
|
||||||
msg = "This wallet seed is not supported."
|
msg = "This wallet seed is not supported."
|
||||||
if self.seed_version in [5]: msg += "\nTo open this wallet, try 'git checkout seed_v%d'"%self.seed_version
|
if self.seed_version in [5]:
|
||||||
raise ValueError(msg)
|
msg += "\nTo open this wallet, try 'git checkout seed_v%d'"%self.seed_version
|
||||||
|
print msg
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
self.load_accounts()
|
self.load_accounts()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user