Skip to content

Commit c642beb

Browse files
authored
fix typo in error message
1 parent ad40e69 commit c642beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/src/bip32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ impl From<Infallible> for IndexOutOfRangeError {
672672

673673
impl fmt::Display for IndexOutOfRangeError {
674674
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
675-
write!(f, "index {} out of range [0, 2^31 - 1] (do you have an hardened child number, rather than an index?)", self.index)
675+
write!(f, "index {} out of range [0, 2^31 - 1] (do you have a hardened child number, rather than an index?)", self.index)
676676
}
677677
}
678678

0 commit comments

Comments
 (0)