When geometric mean of a new block is compared to that of the network, it must be accepted if it is equal, due to the number being rounded. `geo_mean = sqrt(achieved_difficulty_01 ^ 2 x achieved_difficulty_02 ^ 2)`
@@ -35,7 +35,7 @@ impl<B: BlockchainBackend> Validation<Difficulty, B> for AccumDifficultyValidato
let tip_header = db
.fetch_last_header()?
.ok_or_else(|| ValidationError::custom_error("Cannot retrieve tip header. Blockchain DB is empty"))?;
- if *accum_difficulty <= tip_header.total_accumulated_difficulty_inclusive() {
+ if *accum_difficulty < tip_header.total_accumulated_difficulty_inclusive() {
return Err(ValidationError::WeakerAccumulatedDifficulty);
}
Ok(())
