diff options
author | Conor Scott <conor.r.scott.88@gmail.com> | 2018-07-30 10:03:20 +0200 |
---|---|---|
committer | Conor Scott <conor.r.scott.88@gmail.com> | 2018-08-09 12:58:35 +0200 |
commit | 157651855f91c3c093c27290a349a231ac5ba740 (patch) | |
tree | a61b17615865bcfee8a9f42547d98f9494f42674 /test/functional/test_framework/util.py | |
parent | df9f71274645a917e2578c52a1c59745bce8112d (diff) |
[Tests] Rename create_tx and move to blocktools.py
Diffstat (limited to 'test/functional/test_framework/util.py')
-rw-r--r-- | test/functional/test_framework/util.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py index be40fa60e5..b355816d8b 100644 --- a/test/functional/test_framework/util.py +++ b/test/functional/test_framework/util.py @@ -526,14 +526,6 @@ def gen_return_txouts(): txouts = txouts + script_pubkey return txouts -def create_tx(node, coinbase, to_address, amount): - inputs = [{"txid": coinbase, "vout": 0}] - outputs = {to_address: amount} - rawtx = node.createrawtransaction(inputs, outputs) - signresult = node.signrawtransactionwithwallet(rawtx) - assert_equal(signresult["complete"], True) - return signresult["hex"] - # Create a spend of each passed-in utxo, splicing in "txouts" to each raw # transaction to make it large. See gen_return_txouts() above. def create_lots_of_big_transactions(node, txouts, utxos, num, fee): |