Skip to content

Commit a000230

Browse files
committed
Merge rust-bitcoin#4647: fix: typo in error message
c642beb fix typo in error message (Afounso Souza) Pull request description: The error message contains "do you have an hardened child number" but should be "do you have a hardened child number" ACKs for top commit: tcharding: ACK c642beb apoelstra: ACK c642beb; successfully ran local tests Tree-SHA512: f8922d00a7bb687284387f880a1beeba6b1037d1885ea24c8162361880b250e6b44767c076ab40c6cd3cb9c667d28147413cc8257c46cd1383cc999c06735321
2 parents af47c72 + c642beb commit a000230

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)