Skip to content

Commit

Permalink
remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
envestcc committed Jul 6, 2023
1 parent 193d323 commit f7633fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions action/protocol/staking/staking_statereader.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ func (c *compositeStakingStateReader) readStateBucketsByVoter(ctx context.Contex
}
// merge native and LSD buckets
buckets.Buckets = append(buckets.Buckets, lsdIoTeXBuckets.Buckets...)

buckets.Buckets = getPageOfArray(buckets.Buckets, int(req.GetPagination().GetOffset()), int(req.GetPagination().GetLimit()))
return buckets, height, err
}
Expand Down Expand Up @@ -142,7 +141,6 @@ func (c *compositeStakingStateReader) readStateBucketsByCandidate(ctx context.Co
}
// merge native and LSD buckets
buckets.Buckets = append(buckets.Buckets, lsdIoTeXBuckets.Buckets...)

buckets.Buckets = getPageOfArray(buckets.Buckets, int(req.GetPagination().GetOffset()), int(req.GetPagination().GetLimit()))
return buckets, height, err
}
Expand All @@ -168,7 +166,6 @@ func (c *compositeStakingStateReader) readStateBucketByIndices(ctx context.Conte
}
// merge native and LSD buckets
buckets.Buckets = append(buckets.Buckets, lsbIoTeXBuckets.Buckets...)

return buckets, height, nil
}

Expand Down

0 comments on commit f7633fd

Please sign in to comment.