diff --git a/client/interface.py b/client/interface.py index bbd8232e..72184d7c 100644 --- a/client/interface.py +++ b/client/interface.py @@ -151,10 +151,10 @@ class Interface: is_new = True if is_new or wallet.remote_url: - wallet.synchronize() + is_new = wallet.synchronize() wallet.update_tx_history() wallet.save() - return True + return is_new else: return False diff --git a/client/wallet.py b/client/wallet.py index b36962cb..0c72b17c 100644 --- a/client/wallet.py +++ b/client/wallet.py @@ -484,9 +484,11 @@ class Wallet: if self.remote_url: num = self.get_remote_number() - print num while len(self.addresses)