From 737c285f6955253b4bb6f5e2cb024cd79aca8ee4 Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Thu, 10 Nov 2022 11:45:28 -0500 Subject: [PATCH] test: Don't pass add_to_wallet option to walletcreatefundedpsbt It's not a documented option. Noticed while working on #19762. --- test/functional/rpc_fundrawtransaction.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/functional/rpc_fundrawtransaction.py b/test/functional/rpc_fundrawtransaction.py index 54b42667bba..d67465b644d 100755 --- a/test/functional/rpc_fundrawtransaction.py +++ b/test/functional/rpc_fundrawtransaction.py @@ -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)