Skip to content

Commit

Permalink
Merge pull request #30 from fractalyse/fix-masternode-reward
Browse files Browse the repository at this point in the history
Fix blockchain height fork for reward which caused sync issue
  • Loading branch information
Dev-JamesR authored Oct 17, 2021
2 parents b052496 + 9c45b16 commit a988ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/ethash/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ func accumulateRewards(config *params.ChainConfig, state *state.StateDB, header
blockReward = big.NewInt(0.6e+18)
masternodeReward = big.NewInt(0.8e+18)
developmentReward = big.NewInt(0.5e+18)
} else if (header.Number.Int64() >= 8000000) && (header.Number.Int64() < 8130000) {
} else if (header.Number.Int64() >= 8000000) && (header.Number.Int64() < 8150000) {
blockReward = ConstantinopleBlockReward
masternodeReward = big.NewInt(0.65e+18)
developmentReward = big.NewInt(0.35e+18)
Expand Down

0 comments on commit a988ec3

Please sign in to comment.