mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
callback everytime there is an update
This commit is contained in:
parent
063fef86aa
commit
927bbda591
1 changed files with 1 additions and 1 deletions
|
@ -126,6 +126,7 @@ class WalletVerifier(threading.Thread):
|
||||||
break
|
break
|
||||||
pending_headers_changed = False
|
pending_headers_changed = False
|
||||||
|
|
||||||
|
self.interface.trigger_callback('updated')
|
||||||
|
|
||||||
|
|
||||||
def request_merkle(self, tx_hash):
|
def request_merkle(self, tx_hash):
|
||||||
|
@ -277,7 +278,6 @@ class WalletVerifier(threading.Thread):
|
||||||
h = os.path.getsize(name)/80 - 1
|
h = os.path.getsize(name)/80 - 1
|
||||||
if self.local_height != h:
|
if self.local_height != h:
|
||||||
self.local_height = h
|
self.local_height = h
|
||||||
self.interface.trigger_callback('updated')
|
|
||||||
|
|
||||||
|
|
||||||
def read_header(self, block_height):
|
def read_header(self, block_height):
|
||||||
|
|
Loading…
Add table
Reference in a new issue