Skip to content

Commit

Permalink
logging liq pool data indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Feb 26, 2024
1 parent 7f60981 commit b5fd854
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/liquidationPools.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const fetchDexPrice = async address => {
});

res.on('end', _ => {
console.log(json)
resolve(parseUnits(JSON.parse(json).pairs[0].priceUsd, 8).toString());
});
});
Expand Down

0 comments on commit b5fd854

Please sign in to comment.