From fd34caea64725bcfb9d355d50f85c083f986d44d Mon Sep 17 00:00:00 2001 From: jsvisa Date: Mon, 18 Sep 2023 16:34:25 +0000 Subject: [PATCH] cmd/utils: add Pebble to makechaindatabase Signed-off-by: jsvisa --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index a8e8dba7dc..5531755ce4 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -2045,7 +2045,7 @@ func SplitTagsFlag(tagsFlag string) map[string]string { return tagsMap } -// MakeChainDatabase open an LevelDB using the flags passed to the client and will hard crash if it fails. +// MakeChainDatabase open an Pebble/LevelDB using the flags passed to the client and will hard crash if it fails. func MakeChainDatabase(ctx *cli.Context, stack *node.Node, readonly bool, nofreeze bool) ethdb.Database { var ( cache = ctx.Int(CacheFlag.Name) * ctx.Int(CacheDatabaseFlag.Name) / 100