diff options
Diffstat (limited to 'core/state/statedb.go')
-rw-r--r-- | core/state/statedb.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/state/statedb.go b/core/state/statedb.go index 6a24d2865..ae106e03b 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -564,6 +564,8 @@ func (s *StateDB) Commit() (root common.Hash, err error) { func (s *StateDB) CommitBatch() (root common.Hash, batch ethdb.Batch) { batch = s.db.NewBatch() root, _ = s.commit(batch) + + glog.V(logger.Debug).Infof("Trie cache stats: %d misses, %d unloads", trie.CacheMisses(), trie.CacheUnloads()) return root, batch } |