diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-09-26 22:11:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 22:11:46 +0800 |
commit | 229bf51f0d766707b716f1337e8fde03a2475ce3 (patch) | |
tree | 2f55278ec3ae167323446fca377282235f078c80 /core | |
parent | 2ee885958b49f8a58c0a7fae8bc62f4561f8ab3f (diff) | |
parent | a0d783094ecb9622559606df0591c8f9dd4231b6 (diff) | |
download | go-tangerine-229bf51f0d766707b716f1337e8fde03a2475ce3.tar go-tangerine-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.gz go-tangerine-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.bz2 go-tangerine-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.lz go-tangerine-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.xz go-tangerine-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.zst go-tangerine-229bf51f0d766707b716f1337e8fde03a2475ce3.zip |
Merge pull request #15181 from fjl/state-revert-log-index
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) { |