update the error message

This commit is contained in:
rrhlrmrr 2025-02-17 18:10:27 +09:00
parent ac02f522ad
commit 630bb0ec66

View file

@ -517,7 +517,7 @@ func (tx *Transaction) UnmarshalJSON(input []byte) error {
if dec.Hash != (common.Hash{}) {
computedHash := tx.Hash()
if computedHash != dec.Hash {
return errors.New("'Hash'transaction hash mismatch")
return errors.New("transaction hash mismatch")
}
}
return nil