Skip to content

Commit 2bf566b

Browse files
committed
Update format of ExcessiveScriptSize error message
1 parent c196756 commit 2bf566b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/address.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl fmt::Display for Error {
9999
Error::InvalidWitnessProgramLength(l) => write!(f, "the witness program must be between 2 and 40 bytes in length: length={}", l),
100100
Error::InvalidSegwitV0ProgramLength(l) => write!(f, "a v0 witness program must be either of length 20 or 32 bytes: length={}", l),
101101
Error::UncompressedPubkey => write!(f, "an uncompressed pubkey was used where it is not allowed"),
102-
Error::ExcessiveScriptSize => write!(f, "Script size exceed 520 bytes"),
102+
Error::ExcessiveScriptSize => write!(f, "script size exceed 520 bytes"),
103103
Error::UnrecognizedScript => write!(f, "script is not a p2pkh, p2sh or witness program")
104104
}
105105
}

0 commit comments

Comments
 (0)