Skip to content

Commit d1e7785

Browse files
committed
clippy: fix for new rust stable
1 parent 7debedd commit d1e7785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pset/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ impl PartiallySignedTransaction {
236236

237237
match (time_locktime, height_locktime) {
238238
(Locktime::Unconstrained, Locktime::Unconstrained) => {
239-
Ok(fallback_locktime.map(LockTime::from).unwrap_or(LockTime::ZERO))
239+
Ok(fallback_locktime.unwrap_or(LockTime::ZERO))
240240
}
241241
(Locktime::Minimum(x), _) => Ok(x.into()),
242242
(_, Locktime::Minimum(x)) => Ok(x.into()),

0 commit comments

Comments
 (0)