git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8242e58
)
notify wallet wheit height changes
author
ThomasV
<thomasv@gitorious>
Thu, 5 Sep 2013 05:48:48 +0000 (07:48 +0200)
committer
ThomasV
<thomasv@gitorious>
Thu, 5 Sep 2013 05:48:48 +0000 (07:48 +0200)
lib/blockchain.py
patch
|
blob
|
history
diff --git
a/lib/blockchain.py
b/lib/blockchain.py
index
ffa0623
..
310da9f
100644
(file)
--- a/
lib/blockchain.py
+++ b/
lib/blockchain.py
@@
-403,10
+403,9
@@
class BlockchainVerifier(threading.Thread):
if height > self.local_height + 50:
self.get_chunks(i, header, height)
-
+ self.interface.trigger_callback('updated')
if height > self.local_height:
-
# get missing parts from interface (until it connects to my chain)
chain = self.get_chain( i, header )
@@
-423,6
+422,7
@@
class BlockchainVerifier(threading.Thread):
print_error("error", i.server)
# todo: dismiss that server
+ self.interface.trigger_callback('updated')