Skip to content

Commit 8664348

Browse files
committed
internal/cli: remove lightchaindata from removedb command
1 parent 427ae01 commit 8664348

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

internal/cli/removedb.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ const (
2727
chaindataPath string = "chaindata"
2828
ancientPath string = "ancient"
2929
trieCacheJournalPath string = "triecache"
30-
lightchaindataPath string = "lightchaindata"
3130
)
3231

3332
// MarkDown implements cli.MarkDown interface
@@ -102,14 +101,6 @@ func (c *RemoveDBCommand) Run(args []string) int {
102101
log.Info("Full node ancient database missing", "path", path)
103102
}
104103

105-
// Remove the light node database
106-
path = nodeCfg.ResolvePath(lightchaindataPath)
107-
if common.FileExist(path) {
108-
confirmAndRemoveDB(c.UI, path, "light node database")
109-
} else {
110-
log.Info("Light node database missing", "path", path)
111-
}
112-
113104
return 0
114105
}
115106

0 commit comments

Comments
 (0)