Merge rust-bitcoin/rust-bitcoin#4198: Minor: fix typo
1bb3d6a371
Minor: fix typo (Peter Todd) Pull request description: ACKs for top commit: tcharding: ACK1bb3d6a371
Kixunil: ACK1bb3d6a371
apoelstra: ACK 1bb3d6a371d6a09b3d27e1aaec0f40f4f12e5c3b; successfully ran local tests Tree-SHA512: 4387859970fef92232a925d014ca0cfdfb0ffc9f4ea3b956a87aee21a717bacb48e7416001f92018db14e1d3c4548619a1f87235f42cab8dc9d02881df7231d0
This commit is contained in:
commit
12b35e734e
|
@ -30,7 +30,7 @@ impl From<Infallible> for ErrorInner {
|
|||
}
|
||||
|
||||
impl Error {
|
||||
/// Returns the invalid base58 ssscharacter, if encountered.
|
||||
/// Returns the invalid base58 character, if encountered.
|
||||
pub fn invalid_character(&self) -> Option<u8> {
|
||||
match self.0 {
|
||||
ErrorInner::Decode(ref e) => Some(e.invalid_character()),
|
||||
|
|
Loading…
Reference in New Issue