fix requires_upgrade
This commit is contained in:
parent
a1f91ee49e
commit
348f66b8a5
|
@ -249,7 +249,7 @@ class WalletStorage(PrintError):
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def requires_upgrade(self):
|
def requires_upgrade(self):
|
||||||
return self.file_exists() and self.get_seed_version() != FINAL_SEED_VERSION
|
return self.file_exists() and self.get_seed_version() < FINAL_SEED_VERSION
|
||||||
|
|
||||||
def upgrade(self):
|
def upgrade(self):
|
||||||
self.print_error('upgrading wallet format')
|
self.print_error('upgrading wallet format')
|
||||||
|
|
Loading…
Reference in New Issue