This commit is contained in:
Lex Berezhny 2018-11-09 10:44:53 -05:00
parent 1e13fbee8d
commit 57430e9f5f

View file

@ -336,7 +336,7 @@ class WalletComponent(Component):
return self.wallet_manager return self.wallet_manager
def get_status(self): def get_status(self):
if self.wallet_manager: if self.wallet_manager and self.running:
local_height = self.wallet_manager.network.get_local_height() local_height = self.wallet_manager.network.get_local_height()
remote_height = self.wallet_manager.network.get_server_height() remote_height = self.wallet_manager.network.get_server_height()
best_hash = self.wallet_manager.get_best_blockhash() best_hash = self.wallet_manager.get_best_blockhash()