diff options
Diffstat (limited to 'ethereum/main.go')
-rw-r--r-- | ethereum/main.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ethereum/main.go b/ethereum/main.go index 937a2b399..9d07ab0d4 100644 --- a/ethereum/main.go +++ b/ethereum/main.go @@ -40,6 +40,11 @@ func main() { utils.InitLogging(Datadir, LogFile, LogLevel, DebugFile) db := utils.NewDatabase() + err := utils.DBSanityCheck(db) + if err != nil { + logger.Errorln(err) + os.Exit(1) + } keyManager := utils.NewKeyManager(KeyStore, Datadir, db) |