Browse Source

core: improved error message for invalid nonce txs

obscuren 10 years ago
parent
commit
1506e00a23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/error.go

+ 1 - 1
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 {