浏览代码

consensus/ethash: fixed typo (#16253)

Kyuntae Ethan Kim 7 年之前
父节点
当前提交
d429a92f09
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      consensus/ethash/consensus.go

+ 1 - 1
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)