Skip to content

Commit

Permalink
style: format rust code
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhenQian committed May 8, 2024
1 parent 89f68cd commit 411dc98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rust/apps/bitcoin/src/transactions/psbt/wrapped_psbt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ impl WrappedPsbt {
is_external: path.clone().map_or(false, |v| v.1),
need_sign,
ecdsa_sighash_type: input
.sighash_type
.map(|v| v.ecdsa_hash_ty().unwrap_or(bitcoin::EcdsaSighashType::All))
.unwrap_or(bitcoin::EcdsaSighashType::All)
.to_u32() as u8,
.sighash_type
.map(|v| v.ecdsa_hash_ty().unwrap_or(bitcoin::EcdsaSighashType::All))
.unwrap_or(bitcoin::EcdsaSighashType::All)
.to_u32() as u8,
})
}

Expand Down

0 comments on commit 411dc98

Please sign in to comment.