consensus/ethash: fixed typo (#16253)

This commit is contained in:
Kyuntae Ethan Kim 2018-03-05 18:32:56 +09:00 committed by Péter Szilágyi
parent 0b814d32f8
commit d429a92f09

View File

@ -355,7 +355,7 @@ func calcDifficultyByzantium(time uint64, parent *types.Header) *big.Int {
if x.Cmp(params.MinimumDifficulty) < 0 { if x.Cmp(params.MinimumDifficulty) < 0 {
x.Set(params.MinimumDifficulty) 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 // https://github.com/ethereum/EIPs/pull/669
// fake_block_number = min(0, block.number - 3_000_000 // fake_block_number = min(0, block.number - 3_000_000
fakeBlockNumber := new(big.Int) fakeBlockNumber := new(big.Int)