Skip to content

Commit 908faf8

Browse files
sunxiaojun2014karalabe
authored andcommitted
consensus/ethash: fix overdue link (#15786)
1 parent b973176 commit 908faf8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎consensus/ethash/consensus.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func calcDifficultyByzantium(time uint64, parent *types.Header) *big.Int {
381381
// the difficulty that a new block should have when created at time given the
382382
// parent block's time and difficulty. The calculation uses the Homestead rules.
383383
func calcDifficultyHomestead(time uint64, parent *types.Header) *big.Int {
384-
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.mediawiki
384+
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.md
385385
// algorithm:
386386
// diff = (parent_diff +
387387
// (parent_diff / 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99))

0 commit comments

Comments
 (0)