mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 10:42:23 +02:00
test: fix bug in 22686
This commit is contained in:
@ -1006,7 +1006,7 @@ class RawTransactionsTest(BitcoinTestFramework):
|
|||||||
assert_greater_than(fees, 0.01)
|
assert_greater_than(fees, 0.01)
|
||||||
|
|
||||||
def do_fund_send(target):
|
def do_fund_send(target):
|
||||||
create_tx = tester.createrawtransaction([], [{funds.getnewaddress(): lower_bound}])
|
create_tx = tester.createrawtransaction([], [{funds.getnewaddress(): target}])
|
||||||
funded_tx = tester.fundrawtransaction(create_tx)
|
funded_tx = tester.fundrawtransaction(create_tx)
|
||||||
signed_tx = tester.signrawtransactionwithwallet(funded_tx["hex"])
|
signed_tx = tester.signrawtransactionwithwallet(funded_tx["hex"])
|
||||||
assert signed_tx["complete"]
|
assert signed_tx["complete"]
|
||||||
|
Reference in New Issue
Block a user