Skip to content

Commit f6f8638

Browse files
committed
Merge #52: Add missing PSBT_IN_NON_WITNESS_UTXO to v2 input decoding
30f2504 Add PSBT_IN_NON_WITNESS_UTXO to insert_pair (macgyver13) Pull request description: This PR adds the missing PSBT_IN_NON_WITNESS_UTXO key type to the insert_pair match in v2::Input. Looks like the decode path was missing since the original "Add PSBT v2" commit. ACKs for top commit: tcharding: ACK 30f2504 Tree-SHA512: 67bbed47a5a6188ab135f77feefad3ee1d1c76c243042d9c332f8a14afca06072a790a89baf66e8ad632a7dc8f92f398df5e74b914fa23f19114d6b96c6dcc19
2 parents 5ae563d + 30f2504 commit f6f8638

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/v2/map/input.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,11 @@ impl Input {
457457
self.min_height <= <raw_key: _>|<raw_value: absolute::Height>
458458
}
459459
}
460+
PSBT_IN_NON_WITNESS_UTXO => {
461+
v2_impl_psbt_insert_pair! {
462+
self.non_witness_utxo <= <raw_key: _>|<raw_value: Transaction>
463+
}
464+
}
460465
PSBT_IN_WITNESS_UTXO => {
461466
v2_impl_psbt_insert_pair! {
462467
self.witness_utxo <= <raw_key: _>|<raw_value: TxOut>

0 commit comments

Comments
 (0)