@@ -43,7 +43,7 @@ impl std::error::Error for CreateMultisigError {
43
43
pub enum ValidateAddressError {
44
44
/// Conversion of the `address` field failed.
45
45
Address ( address:: ParseError ) ,
46
- /// Conversion of the `script_pub_key ` field failed.
46
+ /// Conversion of the `script_pubkey ` field failed.
47
47
ScriptPubkey ( hex:: HexToBytesError ) ,
48
48
/// The `witness_version` field's value was too big for a u8.
49
49
WitnessVersionValue ( i64 ) ,
@@ -62,7 +62,7 @@ impl fmt::Display for ValidateAddressError {
62
62
match * self {
63
63
E :: Address ( ref e) => write ! ( f, "conversion of the `address` field failed: {}" , e) ,
64
64
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) ,
66
66
E :: WitnessVersionValue ( v) => write ! ( f, "invalid witness version number: {}" , v) ,
67
67
E :: WitnessVersion ( ref e) =>
68
68
write ! ( f, "conversion of the `witness_version` field failed: {}" , e) ,
0 commit comments