Skip to content

Commit

Permalink
fix silly bug in PSS opted-in val query
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Apr 2, 2024
1 parent 26f3c82 commit 67ca8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/grpc_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (k Keeper) QueryConsumerChainOptedInValidators(goCtx context.Context, req *
return nil, status.Error(codes.InvalidArgument, fmt.Sprintf("unknown consumer chain: %s", consumerChainID))
}

for _, v := range k.GetAllOptedIn(ctx, ctx.ChainID()) {
for _, v := range k.GetAllOptedIn(ctx, consumerChainID) {
optedInVals = append(optedInVals, v.ToSdkConsAddr().String())
}

Expand Down

0 comments on commit 67ca8e8

Please sign in to comment.