diff options
author | changhong <changhong.yu@shanbay.com> | 2017-05-11 09:55:48 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-05-25 22:14:33 +0800 |
commit | 17f0b1194232ebebc4e14f905e6e1d2d148aa5b6 (patch) | |
tree | 60663b43bff6e8df5b5a4693cbabc7756482136e /core/blocks.go | |
parent | 07aae19e5da66ed404453e6be70ab84db516207b (diff) | |
download | dexon-17f0b1194232ebebc4e14f905e6e1d2d148aa5b6.tar.gz dexon-17f0b1194232ebebc4e14f905e6e1d2d148aa5b6.tar.zst dexon-17f0b1194232ebebc4e14f905e6e1d2d148aa5b6.zip |
core: typos and comments improve
1. fix typos
2. methods recevier of struct should be same
3. comments improve
(cherry picked from commit 1ba979539582a00b7fd1a7c8a37a6852e59eac0d)
Diffstat (limited to 'core/blocks.go')
-rw-r--r-- | core/blocks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blocks.go b/core/blocks.go index cf8c86507..f20ba4aaf 100644 --- a/core/blocks.go +++ b/core/blocks.go @@ -18,7 +18,7 @@ package core import "github.com/ethereum/go-ethereum/common" -// Set of manually tracked bad hashes (usually hard forks) +// BadHashes represent a set of manually tracked bad hashes (usually hard forks) var BadHashes = map[common.Hash]bool{ common.HexToHash("05bef30ef572270f654746da22639a7a0c97dd97a7050b9e252391996aaeb689"): true, common.HexToHash("7d05d08cbc596a2e5e4f13b80a743e53e09221b5323c3a61946b20873e58583f"): true, |