Skip to content

Commit d7bfb97

Browse files
authored
ethash: no block reward in catalyst mode (#22697)
1 parent d6ffa14 commit d7bfb97

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎consensus/ethash/consensus.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,10 @@ var (
618618
// reward. The total reward consists of the static block reward and rewards for
619619
// included uncles. The coinbase of each uncle block is also rewarded.
620620
func accumulateRewards(config *params.ChainConfig, state *state.StateDB, header *types.Header, uncles []*types.Header) {
621+
// Skip block reward in catalyst mode
622+
if config.IsCatalyst(header.Number) {
623+
return
624+
}
621625
// Select the correct block reward based on chain progression
622626
blockReward := FrontierBlockReward
623627
if config.IsByzantium(header.Number) {

0 commit comments

Comments
 (0)