From a9fa1cb7cf6e0781d4c77ae783574633230c9cab Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 16 Nov 2012 21:50:51 +0400 Subject: [PATCH] bug: wrong name --- backends/bitcoind/blockchain_processor.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backends/bitcoind/blockchain_processor.py b/backends/bitcoind/blockchain_processor.py index f92f6e4..e21ed89 100644 --- 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: -- 1.7.1