diff --git a/src/util/address.rs b/src/util/address.rs index 7a423d3f..8d3f29d3 100644 --- a/src/util/address.rs +++ b/src/util/address.rs @@ -99,7 +99,7 @@ impl fmt::Display for Error { Error::InvalidWitnessProgramLength(l) => write!(f, "the witness program must be between 2 and 40 bytes in length: length={}", l), Error::InvalidSegwitV0ProgramLength(l) => write!(f, "a v0 witness program must be either of length 20 or 32 bytes: length={}", l), Error::UncompressedPubkey => write!(f, "an uncompressed pubkey was used where it is not allowed"), - Error::ExcessiveScriptSize => write!(f, "Script size exceed 520 bytes"), + Error::ExcessiveScriptSize => write!(f, "script size exceed 520 bytes"), Error::UnrecognizedScript => write!(f, "script is not a p2pkh, p2sh or witness program") } }