From 23d2c9663bb0f87b4ab69c101784f73b726127aa Mon Sep 17 00:00:00 2001 From: batphonghan Date: Mon, 19 Aug 2024 14:11:12 +0700 Subject: [PATCH] Rename --- adapters/kelp_gain_linea/src/lib/fetcher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adapters/kelp_gain_linea/src/lib/fetcher.ts b/adapters/kelp_gain_linea/src/lib/fetcher.ts index a8ad4d46..8e572b10 100644 --- a/adapters/kelp_gain_linea/src/lib/fetcher.ts +++ b/adapters/kelp_gain_linea/src/lib/fetcher.ts @@ -41,11 +41,11 @@ async function agETHTotalSupply(blockNumber: number): Promise { } async function agETHTotalLocked(blockNumber: number): Promise { - let totalSupply = await agETHContract.balanceOf(agETH, { + let lockedAmount = await agETHContract.balanceOf(agETH, { blockTag: blockNumber }); - return totalSupply; + return lockedAmount; } export async function getRsETHBalance(blockNumber: number): Promise {