Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: drptbl <[email protected]>
  • Loading branch information
drptbl committed Apr 19, 2024
1 parent 2ce246b commit a848054
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
10 changes: 4 additions & 6 deletions src/routes/circulating-supply.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ module.exports = {
const provider = backupProvider
? backupProvider
: network === 'mainnet'
? mainProvider
: mainOVMProvider;
? mainProvider
: mainOVMProvider;

const snxjs = synthetix({
network,
Expand Down Expand Up @@ -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}`,
Expand Down

0 comments on commit a848054

Please sign in to comment.