diff --git a/test/functional/abc_p2p_compactblocks.py b/test/functional/abc_p2p_compactblocks.py --- a/test/functional/abc_p2p_compactblocks.py +++ b/test/functional/abc_p2p_compactblocks.py @@ -18,7 +18,6 @@ from test_framework.blocktools import ( create_block, create_coinbase, - create_tx_with_script, make_conform_to_ctor, ) from test_framework.cdefs import ONE_MEGABYTE @@ -108,11 +107,6 @@ [tx.rehash() for tx in tx_list] block.vtx.extend(tx_list) - # this is a little handier to use than the version in blocktools.py - def create_tx(self, spend_tx, n, value, script=CScript([OP_TRUE])): - tx = create_tx_with_script(spend_tx, n, b"", value, script) - return tx - def next_block(self, number, spend=None, script=CScript( [OP_TRUE]), block_size=0, extra_txns=0): if self.tip is None: diff --git a/test/functional/abc_p2p_fullblocktest.py b/test/functional/abc_p2p_fullblocktest.py --- a/test/functional/abc_p2p_fullblocktest.py +++ b/test/functional/abc_p2p_fullblocktest.py @@ -18,7 +18,6 @@ from test_framework.blocktools import ( create_block, create_coinbase, - create_tx_with_script, make_conform_to_ctor, ) from test_framework.cdefs import ONE_MEGABYTE @@ -69,11 +68,6 @@ [tx.rehash() for tx in tx_list] block.vtx.extend(tx_list) - # this is a little handier to use than the version in blocktools.py - def create_tx(self, spend, value, script=CScript([OP_TRUE])): - tx = create_tx_with_script(spend.tx, spend.n, b"", value, script) - return tx - def next_block(self, number, spend=None, script=CScript([OP_TRUE]), block_size=0): if self.tip is None: