diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-22 18:47:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-22 18:47:27 +0800 |
commit | 6a86c517c4f4b372cad0ae1d92e926a482eac5ba (patch) | |
tree | 58e66f350e5762bbbdea51906ea2f9a90b193692 /ethchain/state.go | |
parent | 01c1bce9c5dfa2b2bcdf934afec3f206823f895f (diff) | |
download | go-tangerine-6a86c517c4f4b372cad0ae1d92e926a482eac5ba.tar go-tangerine-6a86c517c4f4b372cad0ae1d92e926a482eac5ba.tar.gz go-tangerine-6a86c517c4f4b372cad0ae1d92e926a482eac5ba.tar.bz2 go-tangerine-6a86c517c4f4b372cad0ae1d92e926a482eac5ba.tar.lz go-tangerine-6a86c517c4f4b372cad0ae1d92e926a482eac5ba.tar.xz go-tangerine-6a86c517c4f4b372cad0ae1d92e926a482eac5ba.tar.zst go-tangerine-6a86c517c4f4b372cad0ae1d92e926a482eac5ba.zip |
Removed old VM code
Diffstat (limited to 'ethchain/state.go')
-rw-r--r-- | ethchain/state.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethchain/state.go b/ethchain/state.go index c9b35da21..1860647f2 100644 --- a/ethchain/state.go +++ b/ethchain/state.go @@ -149,6 +149,10 @@ func (s *State) Put(key, object []byte) { s.trie.Update(string(key), string(object)) } +func (s *State) Root() interface{} { + return s.trie.Root +} + // Script compilation functions // Compiles strings to machine code func Compile(code []string) (script []string) { |