DefiLlama / DefiLlama-Adapters

876 stars 5.04k forks source link

Fix Peerme Adapter [outdated] #11070

Closed 0xpeluche closed 2 months ago

0xpeluche commented 2 months ago

Added null filter as the API could return null addresses

image

llamatester commented 2 months ago

Error while running adapter at projects/peerme:

PromisePoolError: Failed to get https://api.multiversx.com/accounts/erd1qqqqqqqqqqqqqpgqxztpjy8nt4d3fm9qegl45hldtzl8y7d327rsuaqrv2/tokens?size=1000
Truncated error stack:
    at PromisePoolError.createFrom (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/node_modules/@supercharge/promise-pool/dist/promise-pool-error.js:28:16)
    at async sumTokens (/home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/projects/helper/chain/elrond.js:68:22)