test: fix bug in 22686

This commit is contained in:
S3RK 2021-08-19 10:09:36 +02:00
parent b784ab10f5
commit 8dcbbbea64

View File

@ -1006,7 +1006,7 @@ class RawTransactionsTest(BitcoinTestFramework):
assert_greater_than(fees, 0.01)
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)
signed_tx = tester.signrawtransactionwithwallet(funded_tx["hex"])
assert signed_tx["complete"]