aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_signer.py
diff options
context:
space:
mode:
authorismaelsadeeq <ask4ismailsadiq@gmail.com>2023-09-05 17:10:21 +0100
committerMatthew Zipkin <pinheadmz@gmail.com>2023-09-06 11:52:19 -0400
commit4614332fc4514f63fcbe9e6de507f7bb9b7e87e9 (patch)
treeea4ddc4bc5d7125db8c61820297bf4a8c742db47 /test/functional/wallet_signer.py
parente3d484b603abff69c6ebfca5cfb78cf82743d090 (diff)
downloadbitcoin-4614332fc4514f63fcbe9e6de507f7bb9b7e87e9.tar.xz
test: remove unnecessary finalizepsbt rpc calls
Diffstat (limited to 'test/functional/wallet_signer.py')
-rwxr-xr-xtest/functional/wallet_signer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/wallet_signer.py b/test/functional/wallet_signer.py
index 2735ec1706..32a1887153 100755
--- a/test/functional/wallet_signer.py
+++ b/test/functional/wallet_signer.py
@@ -169,8 +169,7 @@ class WalletSignerTest(BitcoinTestFramework):
dest = self.nodes[0].getnewaddress(address_type='bech32')
mock_psbt = mock_wallet.walletcreatefundedpsbt([], {dest:0.5}, 0, {'replaceable': True}, True)['psbt']
mock_psbt_signed = mock_wallet.walletprocesspsbt(psbt=mock_psbt, sign=True, sighashtype="ALL", bip32derivs=True)
- mock_psbt_final = mock_wallet.finalizepsbt(mock_psbt_signed["psbt"])
- mock_tx = mock_psbt_final["hex"]
+ mock_tx = mock_psbt_signed["hex"]
assert mock_wallet.testmempoolaccept([mock_tx])[0]["allowed"]
# # Create a new wallet and populate with specific public keys, in order