Skip to content

Commit

Permalink
fix: missing filter in QueryPendingDelegations
Browse files Browse the repository at this point in the history
  • Loading branch information
RafilxTenfen committed Jan 17, 2025
1 parent d4ee08f commit 5b3cf22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itest/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestQueryPendingDelegations(t *testing.T) {
_ = tm.InsertBTCDelegation(t, btcPks, stakingTime, stakingAmount, false)
}

dels, err := tm.CovBBNClient.QueryPendingDelegations(uint64(numDels))
dels, err := tm.CovBBNClient.QueryPendingDelegations(uint64(numDels), nil)
require.NoError(t, err)
require.Len(t, dels, numDels)
}

0 comments on commit 5b3cf22

Please sign in to comment.