|
|
|
@ -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) |
|
|
|
|
|
|
|
|
|