@@ -43,7 +43,7 @@ impl std::error::Error for CreateMultisigError {
4343pub enum ValidateAddressError {
4444 /// Conversion of the `address` field failed.
4545 Address ( address:: ParseError ) ,
46- /// Conversion of the `script_pub_key ` field failed.
46+ /// Conversion of the `script_pubkey ` field failed.
4747 ScriptPubkey ( hex:: HexToBytesError ) ,
4848 /// The `witness_version` field's value was too big for a u8.
4949 WitnessVersionValue ( i64 ) ,
@@ -62,7 +62,7 @@ impl fmt::Display for ValidateAddressError {
6262 match * self {
6363 E :: Address ( ref e) => write ! ( f, "conversion of the `address` field failed: {}" , e) ,
6464 E :: ScriptPubkey ( ref e) =>
65- write ! ( f, "conversion of the `script_pub_key ` field failed: {}" , e) ,
65+ write ! ( f, "conversion of the `script_pubkey ` field failed: {}" , e) ,
6666 E :: WitnessVersionValue ( v) => write ! ( f, "invalid witness version number: {}" , v) ,
6767 E :: WitnessVersion ( ref e) =>
6868 write ! ( f, "conversion of the `witness_version` field failed: {}" , e) ,
0 commit comments