mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Adding log statement for Geth Issue #17076
Should produce log message like "Current effective targetGasLimit=1234567"
This commit is contained in:
parent
598f786aab
commit
d36bfcc164
1 changed files with 1 additions and 0 deletions
|
|
@ -1182,6 +1182,7 @@ func RegisterEthStatsService(stack *node.Node, url string) {
|
|||
func SetupNetwork(ctx *cli.Context) {
|
||||
// TODO(fjl): move target gas limit into config
|
||||
params.TargetGasLimit = ctx.GlobalUint64(TargetGasLimitFlag.Name)
|
||||
log.Info("Current effective", "targetGasLimit", params.TargetGasLimit)
|
||||
}
|
||||
|
||||
// MakeChainDatabase open an LevelDB using the flags passed to the client and will hard crash if it fails.
|
||||
|
|
|
|||
Loading…
Reference in a new issue