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 | |
parent | 2ee885958b49f8a58c0a7fae8bc62f4561f8ab3f (diff) | |
parent | a0d783094ecb9622559606df0591c8f9dd4231b6 (diff) | |
download | dexon-229bf51f0d766707b716f1337e8fde03a2475ce3.tar dexon-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.gz dexon-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.bz2 dexon-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.lz dexon-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.xz dexon-229bf51f0d766707b716f1337e8fde03a2475ce3.tar.zst dexon-229bf51f0d766707b716f1337e8fde03a2475ce3.zip |
Merge pull request #15181 from fjl/state-revert-log-index
core/state: revert log index when removing logs
-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) { |