Skip to content

Commit

Permalink
fix: funding status query
Browse files Browse the repository at this point in the history
  • Loading branch information
shifty11 committed Oct 30, 2023
1 parent 2383167 commit 55cc64b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/funders/keeper/getters_funding.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ func (k Keeper) GetPaginatedFundingQuery(
return false, nil
}

if fundingStatus == queryTypes.FUNDING_STATUS_ACTIVE && funding.IsActive() {
if fundingStatus == queryTypes.FUNDING_STATUS_ACTIVE && funding.IsInactive() {
return false, nil
}

if fundingStatus == queryTypes.FUNDING_STATUS_INACTIVE && funding.IsInactive() {
if fundingStatus == queryTypes.FUNDING_STATUS_INACTIVE && funding.IsActive() {
return false, nil
}

Expand Down

0 comments on commit 55cc64b

Please sign in to comment.