diff --git a/triedb/hashdb/database.go b/triedb/hashdb/database.go index ac74ba4ae..461a54188 100644 --- a/triedb/hashdb/database.go +++ b/triedb/hashdb/database.go @@ -139,7 +139,8 @@ func New(diskdb ethdb.Database, config *Config, resolver ChildResolver) *Databas if config.CleanCacheSize > 0 { cleans = fastcache.New(config.CleanCacheSize) } - log.Info("success to init hash mode triedb") + // TODO:: debug code + panic("success to init hash mode triedb") return &Database{ diskdb: diskdb, resolver: resolver, diff --git a/triedb/pathdb/database.go b/triedb/pathdb/database.go index c3608ab40..c3352f19a 100644 --- a/triedb/pathdb/database.go +++ b/triedb/pathdb/database.go @@ -226,7 +226,8 @@ func New(diskdb ethdb.Database, config *Config) *Database { log.Crit("Failed to disable database", "err", err) // impossible to happen } } - log.Info("success to init path mode triedb") + // TODO:: debug code + panic("success to init path mode triedb") return db }