Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit fa9b3ba

Browse files
Ruteriavalonche
authored andcommitted
Base block profit on the proposer payment instead of balance difference (#24)
1 parent 4f914cf commit fa9b3ba

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

miner/worker.go

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

1172-
coinbaseBalanceBefore := work.state.GetBalance(validatorCoinbase)
1173-
11741172
if !params.noTxs {
11751173
interrupt := new(int32)
11761174
timer := time.AfterFunc(w.newpayloadTimeout, func() {

0 commit comments

Comments
 (0)