File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ fn create_psbt_for_taproot_key_path_spend(
211
211
let prev_tx_id = "06980ca116f74c7845a897461dd0e1d15b114130176de5004957da516b4dee3a" ;
212
212
213
213
let transaction = Transaction {
214
- version : Version ( 2 ) ,
214
+ version : Version :: TWO ,
215
215
lock_time : absolute:: LockTime :: ZERO ,
216
216
input : vec ! [ TxIn {
217
217
previous_output: OutPoint { txid: prev_tx_id. parse( ) . unwrap( ) , vout: 0 } ,
@@ -288,7 +288,7 @@ fn create_psbt_for_taproot_script_path_spend(
288
288
} ] ;
289
289
let prev_tx_id = "9d7c6770fca57285babab60c51834cfcfd10ad302119cae842d7216b4ac9a376" ;
290
290
let transaction = Transaction {
291
- version : Version ( 2 ) ,
291
+ version : Version :: TWO ,
292
292
lock_time : absolute:: LockTime :: ZERO ,
293
293
input : vec ! [ TxIn {
294
294
previous_output: OutPoint { txid: prev_tx_id. parse( ) . unwrap( ) , vout: 0 } ,
You can’t perform that action at this time.
0 commit comments