0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-05 14:06:27 -05:00

test: Don't pass add_to_wallet option to walletcreatefundedpsbt

It's not a documented option. Noticed while working on #19762.
This commit is contained in:
Ryan Ofsky 2022-11-10 11:45:28 -05:00
parent 9dce30194b
commit 737c285f69

View file

@ -1173,7 +1173,6 @@ class RawTransactionsTest(BitcoinTestFramework):
# Case (3), Explicit add_inputs=true and preset inputs (with preset inputs not-covering the target amount)
options["add_inputs"] = True
options["add_to_wallet"] = False
assert "psbt" in wallet.walletcreatefundedpsbt(outputs=[{addr1: 8}], inputs=inputs, options=options)
# Case (4), Explicit add_inputs=true and preset inputs (with preset inputs covering the target amount)