diff --git a/x/funders/keeper/getters_funding.go b/x/funders/keeper/getters_funding.go index b1e57c18..4952b99e 100644 --- a/x/funders/keeper/getters_funding.go +++ b/x/funders/keeper/getters_funding.go @@ -120,6 +120,14 @@ func (k Keeper) GetPaginatedFundingQuery( return false, err } + if funderAddress != nil && *funderAddress != funding.FunderAddress { + return false, nil + } + + if poolId != nil && *poolId != funding.PoolId { + return false, nil + } + if accumulate { fundings = append(fundings, funding) }