From 29b7f3b9cb79b7e4f805d853e886553fc0626c87 Mon Sep 17 00:00:00 2001 From: gmbronco <83549293+gmbronco@users.noreply.github.com> Date: Mon, 18 Nov 2024 17:58:14 +0100 Subject: [PATCH] fixes --- modules/controllers/pool-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/controllers/pool-controller.ts b/modules/controllers/pool-controller.ts index b6d260aa..e7f722f3 100644 --- a/modules/controllers/pool-controller.ts +++ b/modules/controllers/pool-controller.ts @@ -10,7 +10,7 @@ import { getViemClient } from '../sources/viem-client'; import { getBlockNumbersSubgraphClient, getV3JoinedSubgraphClient, getVaultSubgraphClient } from '../sources/subgraphs'; import { prisma } from '../../prisma/prisma-client'; import { updateLiquidity24hAgo, updateLiquidityValuesForPools } from '../actions/pool/update-liquidity'; -import { updateHoldersCount } from '../actions/pool/update-holders-count'; +import { updateLifetimeValues } from '../actions/pool/update-holders-count'; import { Chain, PrismaLastBlockSyncedCategory } from '@prisma/client'; import { getVaultClient } from '../sources/contracts/v3/vault-client'; import { upsertPools as upsertPoolsV3 } from '../actions/pool/v3/upsert-pools'; @@ -134,7 +134,7 @@ export function PoolController(tracer?: any) { chain, pools.map(({ id }) => id), ); - await updateHoldersCount(pools.map(({ id }) => id)); + await updateLifetimeValues(pools.map(({ id }) => id)); }, async updateLiquidityValuesForInactivePools(chain: Chain) { const pools = await prisma.prismaPool.findMany({