From 74fcef233a02447ee293cf4a53a80c08429e2013 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 15 Nov 2012 00:23:39 +0400 Subject: [PATCH] fixes --- backends/bitcoind/blockchain_processor.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/bitcoind/blockchain_processor.py b/backends/bitcoind/blockchain_processor.py index 416b6db..9218fba 100644 --- a/backends/bitcoind/blockchain_processor.py +++ b/backends/bitcoind/blockchain_processor.py @@ -265,7 +265,7 @@ class BlockchainProcessor(Processor): # add memory pool for txid in self.mempool_hist.get(addr,[]): - hist.append((txid, 0)) + hist.append((txid, 0, 0)) hist = map(lambda x: {'tx_hash':x[0], 'height':x[2]}, hist) # add something to distinguish between unused and empty addresses @@ -529,7 +529,7 @@ class BlockchainProcessor(Processor): print_log( "error:", error) elif method == 'blockchain.transaction.broadcast': - txo = self.bitcoind('sendrawtransaction', params[0]) + txo = self.bitcoind('sendrawtransaction', params) print_log( "sent tx:", txo ) result = txo -- 1.7.1