forked from cerc-io/plugeth
core: improved error message for invalid nonce txs
This commit is contained in:
parent
7138404cb0
commit
1506e00a23
@ -81,7 +81,7 @@ func (err *NonceErr) Error() string {
|
||||
}
|
||||
|
||||
func NonceError(is, exp uint64) *NonceErr {
|
||||
return &NonceErr{Message: fmt.Sprintf("Transaction w/ invalid nonce (%d / %d)", is, exp), Is: is, Exp: exp}
|
||||
return &NonceErr{Message: fmt.Sprintf("Transaction w/ invalid nonce. tx=%d state=%d)", is, exp), Is: is, Exp: exp}
|
||||
}
|
||||
|
||||
func IsNonceErr(err error) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user