consensus/ethash: fixed typo (#16253)

pull/16254/head
Kyuntae Ethan Kim 7 years ago committed by Péter Szilágyi
parent 0b814d32f8
commit d429a92f09
  1. 2
      consensus/ethash/consensus.go

@ -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)

Loading…
Cancel
Save