mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update cmd/utils/flags.go
This commit is contained in:
parent
d680a91387
commit
c668c18545
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue