Skip to content

Commit eb8993d

Browse files
Ruteriavalonche
authored andcommitted
Base block profit on the proposer payment instead of balance difference (ethereum#24)
1 parent 31204c6 commit eb8993d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

miner/worker.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,8 +1165,6 @@ func (w *worker) generateWork(params *generateParams) (*types.Block, *big.Int, e
11651165
}
11661166
defer work.discard()
11671167

1168-
coinbaseBalanceBefore := work.state.GetBalance(validatorCoinbase)
1169-
11701168
if !params.noTxs {
11711169
interrupt := new(int32)
11721170
timer := time.AfterFunc(w.newpayloadTimeout, func() {

0 commit comments

Comments
 (0)