Skip to content

Commit

Permalink
keep bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Jan 18, 2025
1 parent ebc7f45 commit 301371f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/evm/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ func (s *StateDB) RevertToSnapshot(i int) {
s.ctx = snap.ctx

// clear the snapshots after the given id
s.snaps = s.snaps[:i]
s.snaps = s.snaps[:i+1]
}

// ContextOfSnapshot returns the context of the snapshot with the given id
Expand Down

0 comments on commit 301371f

Please sign in to comment.