diff options
author | Felix Lange <fjl@twurst.com> | 2017-09-22 02:44:46 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-09-22 02:46:21 +0800 |
commit | a0d783094ecb9622559606df0591c8f9dd4231b6 (patch) | |
tree | 718c398e5e6f33cc642b3742a5cb9ec8a9b2ff58 /core | |
parent | a92d8a26547c138953665387c57168e68bacdd13 (diff) | |
download | go-tangerine-a0d783094ecb9622559606df0591c8f9dd4231b6.tar go-tangerine-a0d783094ecb9622559606df0591c8f9dd4231b6.tar.gz go-tangerine-a0d783094ecb9622559606df0591c8f9dd4231b6.tar.bz2 go-tangerine-a0d783094ecb9622559606df0591c8f9dd4231b6.tar.lz go-tangerine-a0d783094ecb9622559606df0591c8f9dd4231b6.tar.xz go-tangerine-a0d783094ecb9622559606df0591c8f9dd4231b6.tar.zst go-tangerine-a0d783094ecb9622559606df0591c8f9dd4231b6.zip |
core/state: revert log index when removing logs
Diffstat (limited to 'core')
-rw-r--r-- | core/state/journal.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/state/journal.go b/core/state/journal.go index ddb76f1a2..ddc819fe5 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -132,6 +132,7 @@ func (ch addLogChange) undo(s *StateDB) { } else { s.logs[ch.txhash] = logs[:len(logs)-1] } + s.logSize-- } func (ch addPreimageChange) undo(s *StateDB) { |