aboutsummaryrefslogtreecommitdiffstats
path: root/state/statedb.go
diff options
context:
space:
mode:
Diffstat (limited to 'state/statedb.go')
-rw-r--r--state/statedb.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/state/statedb.go b/state/statedb.go
index ee37c2e68..2ef928a9d 100644
--- a/state/statedb.go
+++ b/state/statedb.go
@@ -239,6 +239,10 @@ func (s *StateDB) Root() []byte {
return s.trie.Root()
}
+func (s *StateDB) Trie() *trie.SecureTrie {
+ return s.trie
+}
+
// Resets the trie and all siblings
func (s *StateDB) Reset() {
s.trie.Reset()