Skip to content

Commit

Permalink
linter check
Browse files Browse the repository at this point in the history
  • Loading branch information
sudeepdino008 committed Jan 27, 2025
1 parent 1d38dfe commit af63ae0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions erigon-lib/state/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ type RangesV3 struct {

func (r RangesV3) String() string {
ss := []string{}
for _, d := range r.domain {
for _, d := range &r.domain {
if d.any() {
ss = append(ss, fmt.Sprintf("%s(%s)", d.name, d.String()))
}
Expand All @@ -1257,7 +1257,7 @@ func (r RangesV3) String() string {
}

func (r RangesV3) any() bool {
for _, d := range r.domain {
for _, d := range &r.domain {
if d.any() {
return true
}
Expand Down Expand Up @@ -1292,7 +1292,7 @@ func (ac *AggregatorRoTx) findMergeRange(maxEndTxNum, maxSpan uint64) *RangesV3
cr := r.domain[kv.CommitmentDomain]

restorePrevRange := false
for k, dr := range r.domain {
for k, dr := range &r.domain {
kd := kv.Domain(k)
if kd == kv.CommitmentDomain || cr.values.Equal(&dr.values) {
continue
Expand Down

0 comments on commit af63ae0

Please sign in to comment.