diff options
Diffstat (limited to 'state')
-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 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() |