diff --git a/x/harvest/keeper/querier.go b/x/harvest/keeper/querier.go index a6a7e3bb..688d87ef 100644 --- a/x/harvest/keeper/querier.go +++ b/x/harvest/keeper/querier.go @@ -51,7 +51,7 @@ func queryGetModAccounts(ctx sdk.Context, req abci.RequestQuery, k Keeper) ([]by } var accs []supplyexported.ModuleAccountI if len(params.Name) > 0 { - acc := k.supplyKeeper.GetModuleAccount(ctx, types.LPAccount) + acc := k.supplyKeeper.GetModuleAccount(ctx, params.Name) accs = append(accs, acc) } else { acc := k.supplyKeeper.GetModuleAccount(ctx, types.ModuleAccountName)