From 03403399fcd4abf106a098f15bc7186197bd09bc Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 13 Mar 2015 17:47:11 +0100 Subject: Return proper error --- core/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/error.go') diff --git a/core/error.go b/core/error.go index 04e40646c..69e320eb0 100644 --- a/core/error.go +++ b/core/error.go @@ -78,7 +78,7 @@ func (err *NonceErr) Error() string { } func NonceError(is, exp uint64) *NonceErr { - return &NonceErr{Message: fmt.Sprintf("Nonce err. Is %d, expected %d", is, exp), Is: is, Exp: exp} + return &NonceErr{Message: fmt.Sprintf("Transaction w/ invalid nonce (%d / %d)", is, exp), Is: is, Exp: exp} } func IsNonceErr(err error) bool { -- cgit v1.2.3