Skip to content

Commit

Permalink
fix: bid profit
Browse files Browse the repository at this point in the history
  • Loading branch information
irrun committed Apr 1, 2024
1 parent 1c0c672 commit 5b77527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/bidder.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (b *Bidder) bid(work *environment) {
BlockNumber: parent.Number.Uint64() + 1,
ParentHash: parent.Hash(),
GasUsed: work.header.GasUsed,
GasFee: work.profit,
GasFee: work.state.GetBalance(consensus.SystemAddress).ToBig(),
Txs: txs,
// TODO: decide builderFee according to realtime traffic and validator commission
}
Expand Down

0 comments on commit 5b77527

Please sign in to comment.