diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-19 21:31:41 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-19 21:31:41 +0800 |
commit | d4e5747d040f290eb3697ded891619887a8593da (patch) | |
tree | 4df57f053b3a4dd7b7dde4fde3d4ddeafd14f98e /state/statedb.go | |
parent | e13c6739804604849c7e43d27b073e68fba58191 (diff) | |
parent | cf45b939a098c9421092226d5c76dbce34eb2dda (diff) | |
download | dexon-d4e5747d040f290eb3697ded891619887a8593da.tar dexon-d4e5747d040f290eb3697ded891619887a8593da.tar.gz dexon-d4e5747d040f290eb3697ded891619887a8593da.tar.bz2 dexon-d4e5747d040f290eb3697ded891619887a8593da.tar.lz dexon-d4e5747d040f290eb3697ded891619887a8593da.tar.xz dexon-d4e5747d040f290eb3697ded891619887a8593da.tar.zst dexon-d4e5747d040f290eb3697ded891619887a8593da.zip |
Merge branch 'develop' into conversion
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 } |