test: remove unnecessary finalizepsbt rpc calls
This commit is contained in:
1 parent
e3d484b603
commit
4614332fc4
6 files changed
+27
-40
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user