Update cmd/utils/flags.go

This commit is contained in:
Martin Holst Swende 2023-11-10 13:24:54 +01:00 committed by GitHub
parent d680a91387
commit c668c18545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2045,7 +2045,7 @@ func SplitTagsFlag(tagsFlag string) map[string]string {
return tagsMap
}
// MakeChainDatabase open an Pebble/LevelDB using the flags passed to the client and will hard crash if it fails.
// MakeChainDatabase opens a database using the flags passed to the client and will hard crash if it fails.
func MakeChainDatabase(ctx *cli.Context, stack *node.Node, readonly bool) ethdb.Database {
var (
cache = ctx.Int(CacheFlag.Name) * ctx.Int(CacheDatabaseFlag.Name) / 100