Skip to content

Commit d8abb08

Browse files
committed
fix: needless borrow
Signed-off-by: wthrajat <[email protected]>
1 parent 7ebdd2f commit d8abb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/psbt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ impl PsbtExt for Psbt {
878878
.redeem_script
879879
.as_ref()
880880
.expect("redeem script non-empty checked earlier");
881-
cache.p2wpkh_signature_hash(idx, &script_code, amt, hash_ty)?
881+
cache.p2wpkh_signature_hash(idx, script_code, amt, hash_ty)?
882882
} else {
883883
let witness_script = inp
884884
.witness_script

0 commit comments

Comments
 (0)