From 7dbb23e8c6acfa40795d861b192c205dbb4b4268 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 8 Apr 2016 20:29:43 +0200 Subject: [PATCH] replace sync command --- lib/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/commands.py b/lib/commands.py index 0252478aa..cabdc6e06 100644 --- 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):