Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Nov 7, 2024
1 parent 49f96cd commit 5ef790f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/state/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -2406,7 +2406,7 @@ func (hi *DomainLatestIterFile) Next() ([]byte, []byte, error) {
if err := hi.advanceInFiles(); err != nil {
return nil, nil, err
}
order.Assert(order.Asc, hi.kBackup, hi.nextKey)
order.Asc.Assert(hi.kBackup, hi.nextKey)
// TODO: remove `common.Copy`. it protecting from some existing bug.
return common.Copy(hi.kBackup), hi.vBackup, nil
}
Expand Down

0 comments on commit 5ef790f

Please sign in to comment.