Skip to content

Commit

Permalink
chore: add genesis debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
joeylichang committed Sep 5, 2024
1 parent 672ca61 commit b2af639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis
// Open trie database with provided config
triedb := triedb.NewDatabase(db, cacheConfig.triedbConfig())

if triedb.Scheme() == rawdb.HashScheme {
if triedb.Scheme() == rawdb.VersionScheme {
vdb := triedb.VersaDB()
ver, root := vdb.LatestStoreDiskVersionInfo()
if ver == -1 {
Expand Down

0 comments on commit b2af639

Please sign in to comment.