mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 15:32:34 +02:00
test: fix bug in 22686
This commit is contained in:
parent
b784ab10f5
commit
8dcbbbea64
@ -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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user