diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-22 18:24:46 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-23 17:50:11 +0800 |
commit | 1506e00a2361ab641875d5f95966e8034b2902bc (patch) | |
tree | 0f8d145dd2a952d3d553a110a81de47b4000b366 /core/error.go | |
parent | 7138404cb09aebb990fcce589b87173e66355987 (diff) | |
download | go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar.gz go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar.bz2 go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar.lz go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar.xz go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar.zst go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.zip |
core: improved error message for invalid nonce txs
Diffstat (limited to 'core/error.go')
-rw-r--r-- | core/error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/error.go b/core/error.go index 0642948cd..40db99ecd 100644 --- a/core/error.go +++ b/core/error.go @@ -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 { |