Fix effort calculation
@@ -175,11 +175,7 @@ namespace MiningCore.Blockchain.Bitcoin
public Task CalculateBlockEffortAsync(Block block, ulong accumulatedBlockShareDiff)
{
- // adjust diff
- var coinProps = BitcoinProperties.GetCoinProperties(poolConfig.Coin.Type, poolConfig.Coin.Algorithm);
- var adjusted = accumulatedBlockShareDiff / coinProps.ShareMultiplier;
-
- block.Effort = adjusted / block.NetworkDifficulty;
+ block.Effort = (double)accumulatedBlockShareDiff / block.NetworkDifficulty;
return Task.FromResult(true);
}
