aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-22 18:24:46 +0800
committerobscuren <geffobscura@gmail.com>2015-04-23 17:50:11 +0800
commit1506e00a2361ab641875d5f95966e8034b2902bc (patch)
tree0f8d145dd2a952d3d553a110a81de47b4000b366 /core
parent7138404cb09aebb990fcce589b87173e66355987 (diff)
downloadgo-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar.gz
go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.tar.zst
go-tangerine-1506e00a2361ab641875d5f95966e8034b2902bc.zip
core: improved error message for invalid nonce txs
Diffstat (limited to 'core')
-rw-r--r--core/error.go2
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 {