fix requires_upgrade
This commit is contained in:
@@ -249,7 +249,7 @@ class WalletStorage(PrintError):
|
||||
return result
|
||||
|
||||
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):
|
||||
self.print_error('upgrading wallet format')
|
||||
|
||||
Reference in New Issue
Block a user