@@ -1057,7 +1057,7 @@ pub enum SignError {
10571057 MissingWitnessScript ,
10581058 /// Signing algorithm and key type does not match.
10591059 MismatchedAlgoKey ,
1060- /// Attempted to ECDSA sign an non-ECDSA input.
1060+ /// Attempted to ECDSA sign a non-ECDSA input.
10611061 NotEcdsa ,
10621062 /// The `scriptPubkey` is not a P2WPKH script.
10631063 NotWpkh ,
@@ -1093,7 +1093,7 @@ impl fmt::Display for SignError {
10931093 MissingSpendUtxo => write ! ( f, "missing spend utxo in PSBT" ) ,
10941094 MissingWitnessScript => write ! ( f, "missing witness script" ) ,
10951095 MismatchedAlgoKey => write ! ( f, "signing algorithm and key type does not match" ) ,
1096- NotEcdsa => write ! ( f, "attempted to ECDSA sign an non-ECDSA input" ) ,
1096+ NotEcdsa => write ! ( f, "attempted to ECDSA sign a non-ECDSA input" ) ,
10971097 NotWpkh => write ! ( f, "the scriptPubkey is not a P2WPKH script" ) ,
10981098 SegwitV0Sighash ( ref e) => write_err ! ( f, "SegWit v0 sighash" ; e) ,
10991099 P2wpkhSighash ( ref e) => write_err ! ( f, "p2wpkh sighash" ; e) ,
@@ -2247,7 +2247,7 @@ mod tests {
22472247 let rtt = hex_psbt ( & unserialized. serialize_hex ( ) ) . unwrap ( ) ;
22482248 assert_eq ! ( rtt, unserialized) ;
22492249
2250- // Now add an ripemd160 with incorrect preimage
2250+ // Now add a ripemd160 with incorrect preimage
22512251 let mut ripemd160_preimages = BTreeMap :: new ( ) ;
22522252 ripemd160_preimages. insert ( ripemd160:: Hash :: hash ( & [ 17u8 ] ) , vec ! [ 18u8 ] ) ;
22532253 unserialized. inputs [ 0 ] . ripemd160_preimages = ripemd160_preimages;
0 commit comments