diff --git a/lib/daemon.py b/lib/daemon.py index 02c13c53f..20a2b2869 100644 --- a/lib/daemon.py +++ b/lib/daemon.py @@ -189,7 +189,7 @@ class Daemon(DaemonThread): return if storage.requires_split() or storage.get_action(): return - if self.requires_upgrade(): + if storage.requires_upgrade(): self.print_error('upgrading wallet format') self.upgrade() wallet = Wallet(storage)