You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depend on possible code in the upcoming bitcoin 0.29.0 release.
"possible" because the current "dev-branch" of bitcoin that is used
contains two PRs that have not yet merged.
Copy file name to clipboardExpand all lines: src/interpreter/error.rs
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ use crate::prelude::*;
29
29
pubenumError{
30
30
/// Could not satisfy, absolute locktime not met
31
31
AbsoluteLocktimeNotMet(u32),
32
+
/// Could not satisfy, lock time values are different units
33
+
AbsoluteLocktimeComparisonInvalid(u32,u32),
32
34
/// Cannot Infer a taproot descriptor
33
35
/// Key spends cannot infer the internal key of the descriptor
34
36
/// Inferring script spends is possible, but is hidden nodes are currently
@@ -129,6 +131,7 @@ impl fmt::Display for Error {
129
131
"required absolute locktime CLTV of {} blocks, not met",
130
132
n
131
133
),
134
+
Error::AbsoluteLocktimeComparisonInvalid(n, lock_time) => write!(f,"could not satisfy, lock time values are different units n: {} lock_time: {}", n, lock_time),
0 commit comments