Skip to content

Commit

Permalink
stargate fix
Browse files Browse the repository at this point in the history
  • Loading branch information
slasher125 committed Jan 2, 2024
1 parent 76c203f commit c45f901
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/adaptors/stargate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,11 @@ const main = async () => {
const pools = [];
for (const chain of Object.keys(CONFIG)) {
console.log(chain);
pools.push(await getApy(chain, CONFIG[chain].LP_STAKING));
try {
pools.push(await getApy(chain, CONFIG[chain].LP_STAKING));
} catch (err) {
console.log(`${chain} failed`);
}
}

return pools
Expand Down

0 comments on commit c45f901

Please sign in to comment.