minor fix
[electrum-server.git] / 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