From 10a53aad974488c3b27cf631a1a341add69d1a05 Mon Sep 17 00:00:00 2001 From: jmlee Date: Thu, 18 Jul 2019 15:09:36 +0900 Subject: [PATCH] insert state trie print function at writeBlockWithState function --- core/blockchain.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/blockchain.go b/core/blockchain.go index 7af2396f98..0b708c7e18 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -1279,6 +1279,7 @@ func (bc *BlockChain) writeBlockWithState(block *types.Block, receipts []*types. return NonStatTy, err } triedb := bc.stateCache.TrieDB() + state.Print() // print state trie (jmlee) // If we're running an archive node, always flush if bc.cacheConfig.TrieDirtyDisabled {