mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
update the error message
This commit is contained in:
parent
ac02f522ad
commit
630bb0ec66
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue