Fix bug in error output
`ParseTimeError` should say "block time" not "block height". This looks like a cut'n pasta error because the `ParseHeightError` uses the same string.
This commit is contained in:
parent
c986b2f620
commit
c90f4b6033
|
@ -204,7 +204,7 @@ pub struct ParseTimeError(ParseError);
|
|||
|
||||
impl fmt::Display for ParseTimeError {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
self.0.display(f, "block height", LOCK_TIME_THRESHOLD, u32::MAX)
|
||||
self.0.display(f, "block time", LOCK_TIME_THRESHOLD, u32::MAX)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue