Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ethereum/go-ethereum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f27f7e884d1b3d29fff748bb5641ad1e461b756d
Choose a base ref
..
head repository: ethereum/go-ethereum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ae39af08728ae13db9de26d098422dcf360177e1
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/block_validator.go
2 changes: 1 addition & 1 deletion core/block_validator.go
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ func (v *BlockValidator) ValidateState(block *types.Block, statedb *state.StateD
return nil
}

// CalcGasLimit computes the gas limit of the next Block after parent. It aims
// CalcGasLimit computes the gas limit of the next block after parent. It aims
// to keep the baseline gas close to the provided target, and increase it towards
// the target if the baseline gas is lower.
func CalcGasLimit(parentGasLimit, desiredLimit uint64) uint64 {