test: fix bug in 22686

Github-Pull: bitcoin/bitcoin#22742
Rebased-From: 8dcbbbea64
This commit is contained in:
S3RK
2021-08-19 10:09:36 +02:00
committed by Hennadii Stepanov
parent 63fec7e295
commit 88fb7e37ad

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"]