good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit d7bfb978 authored by Guillaume Ballet's avatar Guillaume Ballet Committed by GitHub
Browse files

ethash: no block reward in catalyst mode (#22697)

parent d6ffa140
No related branches found
No related tags found
No related merge requests found
......@@ -618,6 +618,10 @@ var (
// reward. The total reward consists of the static block reward and rewards for
// included uncles. The coinbase of each uncle block is also rewarded.
func accumulateRewards(config *params.ChainConfig, state *state.StateDB, header *types.Header, uncles []*types.Header) {
// Skip block reward in catalyst mode
if config.IsCatalyst(header.Number) {
return
}
// Select the correct block reward based on chain progression
blockReward := FrontierBlockReward
if config.IsByzantium(header.Number) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment