replace sync command
This commit is contained in:
parent
1b07fb3d17
commit
7dbb23e8c6
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue