lbryum catchup

This commit is contained in:
Jack 2016-07-20 17:32:15 -04:00
parent e63ae08638
commit 55f47a2b1b

View file

@ -996,7 +996,7 @@ class LBRYumWallet(LBRYWallet):
blockchain_caught_d = defer.Deferred() blockchain_caught_d = defer.Deferred()
def check_caught_up(): def check_caught_up():
local_height = self.network.get_local_height() local_height = self.network.get_catchup_progress()
remote_height = self.network.get_server_height() remote_height = self.network.get_server_height()
if remote_height != 0 and remote_height - local_height <= 5: if remote_height != 0 and remote_height - local_height <= 5: