aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework/comptool.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-12-04 13:10:58 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2015-12-04 13:15:59 +0100
commit2f601d215da1683ae99ab9973219044c32fa2093 (patch)
tree041242aabe7b554daa3a388bbed67a80c4600656 /qa/rpc-tests/test_framework/comptool.py
parent792259278e4f2e43d7e09f89335ed80979449b1d (diff)
downloadbitcoin-2f601d215da1683ae99ab9973219044c32fa2093.tar.xz
test: remove necessity to call create_callback_map
Remove necessity to call create_callback_map (as well as the function itself) from the Python P2P test framework. Invoke the appropriate methods directly. - Easy to forget to call it and wonder why it doesn't work - Simplifies the code - This makes it easier to handle new messages in subclasses
Diffstat (limited to 'qa/rpc-tests/test_framework/comptool.py')
-rwxr-xr-xqa/rpc-tests/test_framework/comptool.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/comptool.py b/qa/rpc-tests/test_framework/comptool.py
index e0b3ce040d..9444424dcf 100755
--- a/qa/rpc-tests/test_framework/comptool.py
+++ b/qa/rpc-tests/test_framework/comptool.py
@@ -45,7 +45,6 @@ class TestNode(NodeConnCB):
def __init__(self, block_store, tx_store):
NodeConnCB.__init__(self)
- self.create_callback_map()
self.conn = None
self.bestblockhash = None
self.block_store = block_store