Skip to content

Commit

Permalink
Use globalint
Browse files Browse the repository at this point in the history
  • Loading branch information
cabrador committed Dec 3, 2024
1 parent edda31c commit cd2ebdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ func MakeAllConfigsFromFile(ctx *cli.Context, configFile string) (*Config, error
}

if ctx.IsSet(flags.StateDbCacheCapacityFlag.Name) {
cfg.OperaStore.EVM.Cache.StateDbCapacity = ctx.Int(flags.StateDbCacheCapacityFlag.Name)
cfg.OperaStore.EVM.Cache.StateDbCapacity = ctx.GlobalInt(flags.StateDbCacheCapacityFlag.Name)
}

return &cfg, nil
Expand Down

0 comments on commit cd2ebdc

Please sign in to comment.