From 094a2b4f418cb934eb964cf24abeece09b6edae2 Mon Sep 17 00:00:00 2001 From: nguyenquangthang1997 Date: Fri, 20 Dec 2024 15:32:40 +0700 Subject: [PATCH] Fix: refactor --- projects/b14g/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/projects/b14g/index.js b/projects/b14g/index.js index f9bae146789f..4e1f4d6372c4 100644 --- a/projects/b14g/index.js +++ b/projects/b14g/index.js @@ -27,14 +27,11 @@ module.exports = { fromBlock: 19942300, }) const receiverRewards = logs.map(i => i[1]) - - const coreStakeAmounts = (await api.multiCall({ abi: 'function totalCoreStake() external view returns (uint256)', calls: receiverRewards })).flat() - const totalCoreStake = coreStakeAmounts.reduce((acc, cur) => convertToBigInt(cur) + acc, BigInt(0)) const response = await fetch(btcTxHashLockApi) const listTxHash = await response.json();