Skip to content

Commit

Permalink
Rewards are accumulated on raft
Browse files Browse the repository at this point in the history
  • Loading branch information
antonydenyer committed Sep 6, 2022
1 parent d8a4588 commit 2b0950b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions consensus/ethash/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,6 @@ func accumulateRewards(config *params.ChainConfig, state *state.StateDB, header
return
}

// Quorum: Disable reward for Quorum if gas price is not enabled,
// otherwise static block reward will impact Raft (even though the gas price is zero)
if config.IsQuorum && !config.IsGasPriceEnabled(header.Number) {
return
}

// Quorum:
// Historically, quorum was adding (static) reward to account 0x0.
// So need to ensure this is still the case if gas price is not enabled, otherwise reward goes to coinbase.
Expand Down

0 comments on commit 2b0950b

Please sign in to comment.