Skip to content

Commit

Permalink
Merge branch 'main' into reece/simplify-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups authored Sep 18, 2024
2 parents 0381186 + ed1e436 commit 64182e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/cosmos/module_staking.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ func (c *CosmosChain) StakingQueryDelegationsTo(ctx context.Context, validator s
}

var delegations []*stakingtypes.DelegationResponse
for _, d := range res.DelegationResponses {
delegations = append(delegations, &d)
for i := range res.DelegationResponses {
delegations = append(delegations, &res.DelegationResponses[i])
}

return delegations, nil
Expand Down

0 comments on commit 64182e1

Please sign in to comment.