From 3284020b04b6e3d7ba9d15800165045d6a362777 Mon Sep 17 00:00:00 2001 From: Takehiro Miyao Date: Wed, 6 Dec 2017 00:06:04 +0900 Subject: [PATCH] mistake comment in calc difficulty (#7154) --- ethcore/src/engines/authority_round/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/ethcore/src/engines/authority_round/mod.rs b/ethcore/src/engines/authority_round/mod.rs index c0d607e98..975246c6c 100644 --- a/ethcore/src/engines/authority_round/mod.rs +++ b/ethcore/src/engines/authority_round/mod.rs @@ -456,7 +456,6 @@ impl Engine for AuthorityRound { } fn populate_from_parent(&self, header: &mut Header, parent: &Header) { - // Chain scoring: total weight is sqrt(U256::max_value())*height - step let new_difficulty = U256::from(U128::max_value()) + header_step(parent).expect("Header has been verified; qed").into() - self.step.load().into(); header.set_difficulty(new_difficulty); }