git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
44c1246
)
bug: wrong name
author
ThomasV
<thomasv@gitorious>
Fri, 16 Nov 2012 17:50:51 +0000 (21:50 +0400)
committer
ThomasV
<thomasv@gitorious>
Fri, 16 Nov 2012 17:50:51 +0000 (21:50 +0400)
backends/bitcoind/blockchain_processor.py
patch
|
blob
|
history
diff --git
a/backends/bitcoind/blockchain_processor.py
b/backends/bitcoind/blockchain_processor.py
index
f92f6e4
..
e21ed89
100644
(file)
--- a/
backends/bitcoind/blockchain_processor.py
+++ b/
backends/bitcoind/blockchain_processor.py
@@
-602,7
+602,7
@@
class BlockchainProcessor(Processor):
# not done..
self.up_to_date = False
next_block_hash = self.bitcoind('getblockhash', [self.height+1])
- next_block = self.bitcoind('getblock', [block_hash, 1])
+ next_block = self.bitcoind('getblock', [next_block_hash, 1])
if next_block.get('previousblockhash') == self.last_hash: