From da7d57e07c04dcbb7cc20b35f6606ef3f4c400e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= <peterke@gmail.com>
Date: Mon, 4 Sep 2017 22:35:00 +0300
Subject: core: make txpool operate on immutable state

---
 core/error.go | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'core/error.go')

diff --git a/core/error.go b/core/error.go
index 9ac4fff51..410eca1e1 100644
--- a/core/error.go
+++ b/core/error.go
@@ -28,4 +28,8 @@ var (
 
 	// ErrBlacklistedHash is returned if a block to import is on the blacklist.
 	ErrBlacklistedHash = errors.New("blacklisted hash")
+
+	// ErrNonceTooHigh is returned if the nonce of a transaction is higher than the
+	// next one expected based on the local chain.
+	ErrNonceTooHigh = errors.New("nonce too high")
 )
-- 
cgit v1.2.3