Skip to content

Commit

Permalink
removedb: remove light db prompt (unsupported)
Browse files Browse the repository at this point in the history
  • Loading branch information
iquidus committed Dec 15, 2021
1 parent 41789b6 commit 3e34770
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/gubiq/dbcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,6 @@ func removeDB(ctx *cli.Context) error {
} else {
log.Info("Full node ancient database missing", "path", path)
}
// Remove the light node database
path = stack.ResolvePath("lightchaindata")
if common.FileExist(path) {
confirmAndRemoveDB(path, "light node database")
} else {
log.Info("Light node database missing", "path", path)
}
return nil
}

Expand Down

0 comments on commit 3e34770

Please sign in to comment.