Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Sep 29, 2024
1 parent 25c525c commit 37f9e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/state/statedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ func (s *StateDB) Copy() *StateDB {

// CHANGE(taiko): RevisionId returns the latest snapshot id.
func (s *StateDB) RevisionId() int {
return s.nextRevisionId
return s.journal.nextRevisionId
}

// Snapshot returns an identifier for the current revision of the state.
Expand Down

0 comments on commit 37f9e19

Please sign in to comment.