We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7debedd commit d1e7785Copy full SHA for d1e7785
src/pset/mod.rs
@@ -236,7 +236,7 @@ impl PartiallySignedTransaction {
236
237
match (time_locktime, height_locktime) {
238
(Locktime::Unconstrained, Locktime::Unconstrained) => {
239
- Ok(fallback_locktime.map(LockTime::from).unwrap_or(LockTime::ZERO))
+ Ok(fallback_locktime.unwrap_or(LockTime::ZERO))
240
}
241
(Locktime::Minimum(x), _) => Ok(x.into()),
242
(_, Locktime::Minimum(x)) => Ok(x.into()),
0 commit comments