diff --git a/adapters/layerbank/src/index.ts b/adapters/layerbank/src/index.ts index 7d82380..e5e605c 100644 --- a/adapters/layerbank/src/index.ts +++ b/adapters/layerbank/src/index.ts @@ -52,7 +52,7 @@ export const getUserTVLByBlock = async (blocks: BlockData) => { console.log(`Block: ${block}`); console.log("States: ", states.length); - await updateBorrowBalances(states); + await updateBorrowBalances(states, BigInt(block)); states.forEach((state) => { const marketInfo = marketInfos.find(