aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
diff options
context:
space:
mode:
authorPilkyuJung <anothel1@naver.com>2019-05-13 18:23:32 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-05-13 18:23:32 +0800
commitec2131c8d3382db3762909a8e7d225be61bae230 (patch)
treea731bb3ce7173789e41483a90197efaf1af8ddbf /core/blockchain.go
parentdb83ba4067e1b9f2fa13045c1e8cdbf68917595e (diff)
downloadgo-tangerine-ec2131c8d3382db3762909a8e7d225be61bae230.tar
go-tangerine-ec2131c8d3382db3762909a8e7d225be61bae230.tar.gz
go-tangerine-ec2131c8d3382db3762909a8e7d225be61bae230.tar.bz2
go-tangerine-ec2131c8d3382db3762909a8e7d225be61bae230.tar.lz
go-tangerine-ec2131c8d3382db3762909a8e7d225be61bae230.tar.xz
go-tangerine-ec2131c8d3382db3762909a8e7d225be61bae230.tar.zst
go-tangerine-ec2131c8d3382db3762909a8e7d225be61bae230.zip
core: move error variable to error.go (#19560)
* move error variable to error.go * Update error.go Edit "Genesis" to "genesis"
Diffstat (limited to 'core/blockchain.go')
-rw-r--r--core/blockchain.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
index 52d1a7c29..c93c71403 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -62,9 +62,7 @@ var (
blockWriteTimer = metrics.NewRegisteredTimer("chain/write", nil)
blockPrefetchExecuteTimer = metrics.NewRegisteredTimer("chain/prefetch/executes", nil)
- blockPrefetchInterruptMeter = metrics.NewRegisteredMeter("chain/prefetch/interrupts", nil)
-
- ErrNoGenesis = errors.New("Genesis not found in chain")
+ blockPrefetchInterruptMeter = metrics.NewRegisteredMeter("chain/prefetch/interrupts", nil)
)
const (