Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianBland committed Oct 2, 2024
1 parent 6fa08a0 commit 5e3de7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (miner *Miner) generateWork(params *generateParams) *newPayloadResult {

// If we're building blocks with mempool transactions, we need to ensure that the
// gas limit is not higher than the effective gas limit. We must still accept any
// force-included transactions with gas usage up to the block header's limit.
// explicitly selected transactions with gas usage up to the block header's limit.
if !params.noTxs {
effectiveGasLimit := miner.config.EffectiveGasCeil
if effectiveGasLimit != 0 && effectiveGasLimit < gasLimit {
Expand Down

0 comments on commit 5e3de7c

Please sign in to comment.