From b06a6a2e742d392395331c94731db61e76ddfebf Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Thu, 26 Oct 2017 16:30:56 +0200 Subject: [PATCH] Fix use of missing self.log in blockchain.py self.log will only be available in later backports. Use print until these are backported. --- qa/rpc-tests/blockchain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/rpc-tests/blockchain.py b/qa/rpc-tests/blockchain.py index 862f52b43..8fb8ce14b 100755 --- a/qa/rpc-tests/blockchain.py +++ b/qa/rpc-tests/blockchain.py @@ -59,7 +59,7 @@ class BlockchainTest(BitcoinTestFramework): assert_equal(len(res[u'bestblock']), 64) assert_equal(len(res[u'hash_serialized']), 64) - self.log.info("Test that gettxoutsetinfo() works for blockchain with just the genesis block") + print("Test that gettxoutsetinfo() works for blockchain with just the genesis block") b1hash = node.getblockhash(1) node.invalidateblock(b1hash) @@ -71,7 +71,7 @@ class BlockchainTest(BitcoinTestFramework): assert_equal(res2['bestblock'], node.getblockhash(0)) assert_equal(len(res2['hash_serialized']), 64) - self.log.info("Test that gettxoutsetinfo() returns the same result after invalidate/reconsider block") + print("Test that gettxoutsetinfo() returns the same result after invalidate/reconsider block") node.reconsiderblock(b1hash) res3 = node.gettxoutsetinfo()