mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
internal/cli: remove lightchaindata from removedb command
This commit is contained in:
parent
427ae01c2d
commit
866434899d
1 changed files with 0 additions and 9 deletions
|
|
@ -27,7 +27,6 @@ const (
|
|||
chaindataPath string = "chaindata"
|
||||
ancientPath string = "ancient"
|
||||
trieCacheJournalPath string = "triecache"
|
||||
lightchaindataPath string = "lightchaindata"
|
||||
)
|
||||
|
||||
// MarkDown implements cli.MarkDown interface
|
||||
|
|
@ -102,14 +101,6 @@ func (c *RemoveDBCommand) Run(args []string) int {
|
|||
log.Info("Full node ancient database missing", "path", path)
|
||||
}
|
||||
|
||||
// Remove the light node database
|
||||
path = nodeCfg.ResolvePath(lightchaindataPath)
|
||||
if common.FileExist(path) {
|
||||
confirmAndRemoveDB(c.UI, path, "light node database")
|
||||
} else {
|
||||
log.Info("Light node database missing", "path", path)
|
||||
}
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue