From bc14f563989fcb2df873968c0d485a2083cf405d Mon Sep 17 00:00:00 2001 From: mdr0id Date: Thu, 5 Dec 2019 15:50:30 -0800 Subject: [PATCH] Clean up code not needed from upstream --- qa/rpc-tests/test_framework/comptool.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qa/rpc-tests/test_framework/comptool.py b/qa/rpc-tests/test_framework/comptool.py index 00f45b5b5..10fc30876 100755 --- a/qa/rpc-tests/test_framework/comptool.py +++ b/qa/rpc-tests/test_framework/comptool.py @@ -95,12 +95,6 @@ class TestNode(NodeConnCB): del self.pingMap[message.nonce] except KeyError: raise AssertionError("Got pong for unknown ping [%s]" % repr(message)) - - def on_reject(self, conn, message): - if message.message == b'tx': - self.tx_reject_map[message.data] = RejectResult(message.code, message.reason) - if message.message == b'block': - self.block_reject_map[message.data] = RejectResult(message.code, message.reason) def send_inv(self, obj): mtype = 2 if isinstance(obj, CBlock) else 1 @@ -247,7 +241,6 @@ class TestManager(): if c.cb.bestblockhash != self.connections[0].cb.bestblockhash: return False elif ((c.cb.bestblockhash == blockhash) != outcome): - # print c.cb.bestblockhash, blockhash, outcome return False return True