Skip to content

Commit

Permalink
logArray for polygon adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Nov 6, 2023
1 parent 818703e commit 4ecbead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/polygon/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const ADDRESSES = require('../helper/coreAssets.json')
const { sumTokens2 } = require('../helper/unwrapLPs')

async function tvl(_, block, _c, { api }) {
async function tvl(_, block, _c, { logArray }) {
const etherAddress = ADDRESSES.null

const posEtherPredicate = '0x8484Ef722627bf18ca5Ae6BcF031c23E6e922B30'
Expand Down Expand Up @@ -86,7 +86,7 @@ async function tvl(_, block, _c, { api }) {
})
toa.push([maticToken, plasmaDepositManager])
toa.push([maticToken, stakeManager])
return sumTokens2({ block, tokensAndOwners: toa, logArray: api.logArray })
return sumTokens2({ block, tokensAndOwners: toa, logArray })
}

module.exports = {
Expand Down

0 comments on commit 4ecbead

Please sign in to comment.