Update format of ExcessiveScriptSize error message
This commit is contained in:
parent
89bd4b61a4
commit
66e852cd19
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue