aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/trie.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethutil/trie.go')
-rw-r--r--ethutil/trie.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/ethutil/trie.go b/ethutil/trie.go
index 95abca602..c25bd80cb 100644
--- a/ethutil/trie.go
+++ b/ethutil/trie.go
@@ -119,6 +119,10 @@ func (t *Trie) Undo() {
t.Root = t.prevRoot
}
+func (t *Trie) Cache() *Cache {
+ return t.cache
+}
+
/*
* Public (query) interface functions
*/