aboutsummaryrefslogtreecommitdiffstats
path: root/core/error.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-14 00:47:11 +0800
committerobscuren <geffobscura@gmail.com>2015-03-14 00:47:11 +0800
commit03403399fcd4abf106a098f15bc7186197bd09bc (patch)
treeb5ebbf0330c6cc2d6aff3100511c4843c2d8593a /core/error.go
parenta0266489b4592af751d87c59087ed25a32899de6 (diff)
downloadgo-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.gz
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.bz2
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.lz
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.xz
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.tar.zst
go-tangerine-03403399fcd4abf106a098f15bc7186197bd09bc.zip
Return proper error
Diffstat (limited to 'core/error.go')
-rw-r--r--core/error.go2
1 files changed, 1 insertions, 1 deletions
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 {