Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
batphonghan committed Aug 19, 2024
1 parent af4e82b commit 23d2c96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/kelp_gain_linea/src/lib/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ async function agETHTotalSupply(blockNumber: number): Promise<bigint> {
}

async function agETHTotalLocked(blockNumber: number): Promise<bigint> {
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<bigint> {
Expand Down

0 comments on commit 23d2c96

Please sign in to comment.