aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/main.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-22 18:14:37 +0800
committerobscuren <geffobscura@gmail.com>2014-08-22 18:14:37 +0800
commit842f2cc8a06627a1de4fbdd1580fefe14be85a04 (patch)
tree4656c724c66bb0584f4064e505801a098389d1fb /ethereum/main.go
parent77fd361c62ea84a761aedead906cdd9f38ac79eb (diff)
downloaddexon-842f2cc8a06627a1de4fbdd1580fefe14be85a04.tar
dexon-842f2cc8a06627a1de4fbdd1580fefe14be85a04.tar.gz
dexon-842f2cc8a06627a1de4fbdd1580fefe14be85a04.tar.bz2
dexon-842f2cc8a06627a1de4fbdd1580fefe14be85a04.tar.lz
dexon-842f2cc8a06627a1de4fbdd1580fefe14be85a04.tar.xz
dexon-842f2cc8a06627a1de4fbdd1580fefe14be85a04.tar.zst
dexon-842f2cc8a06627a1de4fbdd1580fefe14be85a04.zip
Error window
Diffstat (limited to 'ethereum/main.go')
-rw-r--r--ethereum/main.go5
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)