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 Mar 8, 2023
1 parent 3f9de51 commit c8f8000
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 @@ -1169,8 +1169,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 c8f8000

Please sign in to comment.