replace sync command

This commit is contained in:
ThomasV 2016-04-08 20:29:43 +02:00
parent 1b07fb3d17
commit 7dbb23e8c6
1 changed files with 3 additions and 3 deletions

View File

@ -616,9 +616,9 @@ class Commands:
return True return True
@command('wn') @command('wn')
def sync(self): def is_synchronized(self):
""" wait until wallet is synchronized """ """ return wallet synchronization status """
return self.wallet.wait_until_synchronized() return self.wallet.is_up_to_date()
@command('') @command('')
def help(self): def help(self):