Apply rustfmt

This commit is contained in:
The rustfmt Tyranny 2023-07-29 20:52:16 +01:00 committed by Steven Roose
parent dada6d65b7
commit 07041d584d
1 changed files with 4 additions and 1 deletions

View File

@ -341,7 +341,10 @@ impl Psbt {
Ok((Message::from(sighash), hash_ty))
}
ShWpkh => {
let script_code = input.redeem_script.as_ref().expect("checked above")
let script_code = input
.redeem_script
.as_ref()
.expect("checked above")
.p2wpkh_script_code()
.ok_or(SignError::NotWpkh)?;
let sighash =