diff options
Diffstat (limited to 'state/statedb.go')
-rw-r--r-- | state/statedb.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/state/statedb.go b/state/statedb.go index ea5aad525..6fcd39dbc 100644 --- a/state/statedb.go +++ b/state/statedb.go @@ -33,6 +33,10 @@ func New(root common.Hash, db common.Database) *StateDB { return &StateDB{db: db, trie: trie, stateObjects: make(map[string]*StateObject), refund: make(map[string]*big.Int)} } +func (self *StateDB) PrintRoot() { + self.trie.Trie.PrintRoot() +} + func (self *StateDB) EmptyLogs() { self.logs = nil } |