diff --git a/src/routes/circulating-supply.js b/src/routes/circulating-supply.js index 23437cb..292a751 100644 --- a/src/routes/circulating-supply.js +++ b/src/routes/circulating-supply.js @@ -156,9 +156,8 @@ async function circulatingSupplyHandler(req, res, next) { rewardEscrowV2EscrowedBalance, } = await getRewardEscrowV2EscrowedBalance(); - const liquidatorRewardsBalanceData = await getLiquidatorRewardsBalance( - 'mainnet', - ); + const liquidatorRewardsBalanceData = + await getLiquidatorRewardsBalance('mainnet'); const synthetixBridgeEscrowBalanceData = await getSynthetixBridgeEscrowBalance('mainnet'); @@ -177,9 +176,8 @@ async function circulatingSupplyHandler(req, res, next) { OVMRewardEscrowV2EscrowedBalance, } = await getOVMRewardEscrowV2EscrowedBalance(); - const OVMLiquidatorRewardsBalanceData = await getLiquidatorRewardsBalance( - 'mainnet-ovm', - ); + const OVMLiquidatorRewardsBalanceData = + await getLiquidatorRewardsBalance('mainnet-ovm'); log.debug('Calculating circulating supply..'); const circulatingSupply = totalSupply diff --git a/src/utils.js b/src/utils.js index 6aaa006..630a362 100644 --- a/src/utils.js +++ b/src/utils.js @@ -54,8 +54,8 @@ module.exports = { const provider = backupProvider ? backupProvider : network === 'mainnet' - ? mainProvider - : mainOVMProvider; + ? mainProvider + : mainOVMProvider; const snxjs = synthetix({ network, @@ -141,8 +141,8 @@ module.exports = { const provider = options.backupProvider ? options.backupProvider : options.network === 'mainnet' - ? mainProvider - : mainOVMProvider; + ? mainProvider + : mainOVMProvider; const contract = new ethers.Contract(tokenAddress, balanceOfABI, provider); log.debug( `Fetching balance of: ${tokenAddress} for contract: ${contractAddress}`,