minor fix
authorThomasV <thomasv@gitorious>
Thu, 14 Nov 2013 11:27:29 +0000 (15:27 +0400)
committerThomasV <thomasv@gitorious>
Thu, 14 Nov 2013 11:27:29 +0000 (15:27 +0400)
backends/bitcoind/blockchain_processor.py

index 10b81c8..03de6ee 100644 (file)
@@ -806,7 +806,7 @@ class BlockchainProcessor(Processor):
         rawtxdata = []
         for ir in r:
             if ir['error'] is not None:
-                raise BaseException(r['error'])
+                raise BaseException(ir['error'])
             rawtxdata.append(ir['result'])
         block['tx'] = rawtxdata
         return block