Skip to content

Commit 200a8f7

Browse files
committed
test: fix unit test
1 parent 03a5ae9 commit 200a8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x/clp/keeper/provider_distribution_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func TestKeeper_CollectProviderDistributionAndEvents(t *testing.T) {
111111
rowanToDistribute2 := keeper.CollectProviderDistribution(ctx, &pool2, poolDepthRowan, blockRate, sdk.NewUint(totalPoolUnits), lpsFiltered, lpRowanMap, lpPoolMap)
112112
poolRowanMap[&pool2] = rowanToDistribute2
113113

114-
app.ClpKeeper.TransferProviderDistribution(ctx, poolRowanMap, lpRowanMap, lpPoolMap)
114+
app.ClpKeeper.TransferProviderDistribution(ctx, poolRowanMap, lpRowanMap, lpPoolMap, false)
115115

116116
// pool empty after all LPs got paid
117117
poolStored, _ := app.ClpKeeper.GetPool(ctx, assetStr)
@@ -120,7 +120,7 @@ func TestKeeper_CollectProviderDistributionAndEvents(t *testing.T) {
120120
require.Subset(t, ctx.EventManager().Events(), createDistributeEvent(lps[len(lps)-1].LiquidityProviderAddress))
121121
}
122122

123-
//nolint
123+
// nolint
124124
func createDistributeEvent(address string) []sdk.Event {
125125
return []sdk.Event{sdk.NewEvent("lppd/distribution",
126126
sdk.NewAttribute("recipient", address),

0 commit comments

Comments
 (0)