File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,13 @@ def run_test(self):
207
207
assert tx_in ["sequence" ] > MAX_BIP125_RBF_SEQUENCE
208
208
assert_equal (decoded_psbt ["tx" ]["locktime" ], 0 )
209
209
210
+ # Regression test for 14473 (mishandling of already-signed witness transaction):
211
+ psbtx_info = self .nodes [0 ].walletcreatefundedpsbt ([{"txid" :unspent ["txid" ], "vout" :unspent ["vout" ]}], [{self .nodes [2 ].getnewaddress ():unspent ["amount" ]+ 1 }])
212
+ complete_psbt = self .nodes [0 ].walletprocesspsbt (psbtx_info ["psbt" ])
213
+ double_processed_psbt = self .nodes [0 ].walletprocesspsbt (complete_psbt ["psbt" ])
214
+ assert_equal (complete_psbt , double_processed_psbt )
215
+ # We don't care about the decode result, but decoding must succeed.
216
+ self .nodes [0 ].decodepsbt (double_processed_psbt ["psbt" ])
210
217
211
218
# BIP 174 Test Vectors
212
219
You can’t perform that action at this time.
0 commit comments