From 1506e00a2361ab641875d5f95966e8034b2902bc Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 22 Apr 2015 12:24:46 +0200 Subject: [PATCH] core: improved error message for invalid nonce txs --- core/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {