Skip to content

Commit

Permalink
Base block profit on the proposer payment instead of balance differen…
Browse files Browse the repository at this point in the history
…ce (ethereum#24)
  • Loading branch information
Ruteri authored and avalonche committed Feb 6, 2023
1 parent 31204c6 commit eb8993d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1165,8 +1165,6 @@ func (w *worker) generateWork(params *generateParams) (*types.Block, *big.Int, e
}
defer work.discard()

coinbaseBalanceBefore := work.state.GetBalance(validatorCoinbase)

if !params.noTxs {
interrupt := new(int32)
timer := time.AfterFunc(w.newpayloadTimeout, func() {
Expand Down

0 comments on commit eb8993d

Please sign in to comment.