Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Apr 19, 2024
1 parent a1c1c21 commit 7595d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/state/domain_committed.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (t *UpdateTree) List(clear bool) ([][]byte, []commitment.Update) {
plainKeys[i] = []byte(key)
i++
}
slices.SortFunc(plainKeys, func(i, j []byte) int { return bytes.Compare(i, j) })
slices.SortFunc(plainKeys, bytes.Compare)
if clear {
t.keys = make(map[string]struct{}, len(t.keys)/8)
}
Expand Down

0 comments on commit 7595d3a

Please sign in to comment.