treturn is_new - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 14691ad9a85d778a08a3716a2315e46d4c521152 DIR parent c22f839c9ee2f4e2580afb09a4a8ec7a1c2ccc20 HTML Author: thomasv <thomasv@gitorious> Date: Wed, 22 Feb 2012 17:11:21 +0100 return is_new Diffstat: M client/interface.py | 4 ++-- M client/wallet.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) --- DIR diff --git a/client/interface.py b/client/interface.py t@@ -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 DIR diff --git a/client/wallet.py b/client/wallet.py t@@ -484,9 +484,11 @@ class Wallet: if self.remote_url: num = self.get_remote_number() - print num while len(self.addresses)<num: self.create_new_address(False) + is_new = True + + return is_new def get_remote_number(self): import jsonrpclib