From 908faf8cd715c873e4b5fdbb7af8d4f496702d84 Mon Sep 17 00:00:00 2001 From: sunxiaojun2014 Date: Sun, 31 Dec 2017 19:38:39 +0800 Subject: consensus/ethash: fix overdue link (#15786) --- consensus/ethash/consensus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'consensus') diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 5fe67c851..0a2f1520e 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -381,7 +381,7 @@ func calcDifficultyByzantium(time uint64, parent *types.Header) *big.Int { // the difficulty that a new block should have when created at time given the // parent block's time and difficulty. The calculation uses the Homestead rules. func calcDifficultyHomestead(time uint64, parent *types.Header) *big.Int { - // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.mediawiki + // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-2.md // algorithm: // diff = (parent_diff + // (parent_diff / 2048 * max(1 - (block_timestamp - parent_timestamp) // 10, -99)) -- cgit