aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyuntae Ethan Kim <ethan.kyuntae.kim@gmail.com>2018-03-05 17:32:56 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-03-05 17:32:56 +0800
commitd429a92f09e476c431830cef48690dc3784153c7 (patch)
treecd44684dfb1479ddc839e413640836dd49a1b8ad
parent0b814d32f8737b194874942f11dc3e9e7399cf7b (diff)
downloaddexon-d429a92f09e476c431830cef48690dc3784153c7.tar.gz
dexon-d429a92f09e476c431830cef48690dc3784153c7.tar.zst
dexon-d429a92f09e476c431830cef48690dc3784153c7.zip
consensus/ethash: fixed typo (#16253)
-rw-r--r--consensus/ethash/consensus.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go
index 3f860bf47..99eec8221 100644
--- a/consensus/ethash/consensus.go
+++ b/consensus/ethash/consensus.go
@@ -355,7 +355,7 @@ func calcDifficultyByzantium(time uint64, parent *types.Header) *big.Int {
if x.Cmp(params.MinimumDifficulty) < 0 {
x.Set(params.MinimumDifficulty)
}
- // calculate a fake block numer for the ice-age delay:
+ // calculate a fake block number for the ice-age delay:
// https://github.com/ethereum/EIPs/pull/669
// fake_block_number = min(0, block.number - 3_000_000
fakeBlockNumber := new(big.Int)