diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-07 16:53:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-07 16:53:20 +0800 |
commit | d40cba3042564f3471aa20a5cf477cafcacc2189 (patch) | |
tree | b8b1218e456d3daaad4a36e6ba022323c3762038 /ethchain/state.go | |
parent | 1199941475452e8d62fb2d5b634672e3f7c48bfd (diff) | |
download | go-tangerine-d40cba3042564f3471aa20a5cf477cafcacc2189.tar go-tangerine-d40cba3042564f3471aa20a5cf477cafcacc2189.tar.gz go-tangerine-d40cba3042564f3471aa20a5cf477cafcacc2189.tar.bz2 go-tangerine-d40cba3042564f3471aa20a5cf477cafcacc2189.tar.lz go-tangerine-d40cba3042564f3471aa20a5cf477cafcacc2189.tar.xz go-tangerine-d40cba3042564f3471aa20a5cf477cafcacc2189.tar.zst go-tangerine-d40cba3042564f3471aa20a5cf477cafcacc2189.zip |
changed state reset
Diffstat (limited to 'ethchain/state.go')
-rw-r--r-- | ethchain/state.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethchain/state.go b/ethchain/state.go index 20af94fe8..5d023df7b 100644 --- a/ethchain/state.go +++ b/ethchain/state.go @@ -161,7 +161,9 @@ func (self *State) Set(state *State) { panic("Tried setting 'state' to nil through 'Set'") } - *self = *state + self.trie = state.trie + self.stateObjects = state.stateObjects + //*self = *state } func (s *State) Put(key, object []byte) { |