commit 7dbb23e8c6acfa40795d861b192c205dbb4b4268 parent 1b07fb3d1756558557b6a89745cd2a6c8f9d9955 Author: ThomasV <thomasv@electrum.org> Date: Fri, 8 Apr 2016 20:29:43 +0200 replace sync command Diffstat:
M | lib/commands.py | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/commands.py b/lib/commands.py @@ -616,9 +616,9 @@ class Commands: return True @command('wn') - def sync(self): - """ wait until wallet is synchronized """ - return self.wallet.wait_until_synchronized() + def is_synchronized(self): + """ return wallet synchronization status """ + return self.wallet.is_up_to_date() @command('') def help(self):