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 4b1ded7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 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 Down

0 comments on commit 4b1ded7

Please sign in to comment.