Skip to content

Commit

Permalink
Update EthereumPayoutHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfa16bravo authored Dec 12, 2024
1 parent a108897 commit 3a1acd0
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/Miningcore/Blockchain/Ethereum/EthereumPayoutHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -502,29 +502,6 @@ internal static decimal GetBaseBlockReward(GethChainType chainType, ulong height

return SlayerXConstants.BaseRewardInitial - (SlayerXConstants.BaseRewardInitial * (SlayerXConstants.StakePercent / 100));

case GethChainType.OctaSpace:
if(height >= OctaSpaceConstants.TriangulumHardForkHeight)
return OctaSpaceConstants.TriangulumBlockReward;
if(height >= OctaSpaceConstants.VegaHardForkHeight)
return OctaSpaceConstants.VegaBlockReward;
if(height >= OctaSpaceConstants.BlackeyeHardForkHeight)
return OctaSpaceConstants.BlackeyeBlockReward;
if(height >= OctaSpaceConstants.DneprHardForkHeight)
return OctaSpaceConstants.DneprBlockReward;
if(height >= OctaSpaceConstants.MahasimHardForkHeight)
return OctaSpaceConstants.MahasimBlockReward;
if(height >= OctaSpaceConstants.PolarisHardForkHeight)
return OctaSpaceConstants.PolarisBlockReward;
if(height >= OctaSpaceConstants.SpringwaterHardForkHeight)
return OctaSpaceConstants.SpringwaterBlockReward;
if(height >= OctaSpaceConstants.ZagamiHardForkHeight)
return OctaSpaceConstants.ZagamiBlockReward;
if(height >= OctaSpaceConstants.OldenburgHardForkHeight)
return OctaSpaceConstants.OldenburgBlockReward;
if(height >= OctaSpaceConstants.ArcturusHardForkHeight)
return OctaSpaceConstants.ArcturusBlockReward;

return OctaSpaceConstants.BaseRewardInitial;

case GethChainType.Hypra:
if(height >= HypraConstants.LondonHeight)
Expand Down

0 comments on commit 3a1acd0

Please sign in to comment.