Skip to content

Commit 9cd25b5

Browse files
committed
Merge rust-bitcoin#4857: fix: IsSatisfiedByTimeError::Incompatible wording to lock-by-time
1f5e6ed fix: IsSatisfiedByTimeError::Incompatible wording to lock-by-time (yyhrnk) Pull request description: Updated the error text to say “lock-by-time” for IsSatisfiedByTimeError::Incompatible. ACKs for top commit: apoelstra: ACK 1f5e6ed; successfully ran local tests; good catch tcharding: ACK 1f5e6ed Tree-SHA512: b88513592e81cf149ef7c225a45bca4641577670b5f48c404d94989fb9b8474cef50eaab03da1bddcbac1fe3879525f91ac97e57c217b763883ec466a066c3c8
2 parents 84f20d1 + 1f5e6ed commit 9cd25b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

units/src/locktime/relative/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl fmt::Display for IsSatisfiedByTimeError {
116116
match *self {
117117
E::Satisfaction(ref e) => write_err!(f, "satisfaction"; e),
118118
E::Incompatible(blocks) =>
119-
write!(f, "tried to satisfy a lock-by-height locktime using blocks {}", blocks),
119+
write!(f, "tried to satisfy a lock-by-time locktime using blocks {}", blocks),
120120
}
121121
}
122122
}

0 commit comments

Comments
 (0)