Skip to content

Commit

Permalink
Merge pull request #223 from delta1/clippy
Browse files Browse the repository at this point in the history
clippy: fix for new rust stable
  • Loading branch information
delta1 authored Feb 24, 2025
2 parents 7debedd + d1e7785 commit 5a98cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pset/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl PartiallySignedTransaction {

match (time_locktime, height_locktime) {
(Locktime::Unconstrained, Locktime::Unconstrained) => {
Ok(fallback_locktime.map(LockTime::from).unwrap_or(LockTime::ZERO))
Ok(fallback_locktime.unwrap_or(LockTime::ZERO))
}
(Locktime::Minimum(x), _) => Ok(x.into()),
(_, Locktime::Minimum(x)) => Ok(x.into()),
Expand Down

0 comments on commit 5a98cc3

Please sign in to comment.