Skip to content

Commit

Permalink
Merge branch 'replace-dydx-apr-api' into release-v0.5.16
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed May 17, 2024
2 parents a45b014 + ede30b8 commit afddf26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chains/chainMonitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function ChainMonitor() {
if (path === 'dydx') {
const aprRequest = await got.get("https://api.lacertalabs.xyz/data/stakingapr", gotOpts).json();
return {
calculatedApr: aprRequest['0']?.average_stakingapr
calculatedApr: bignumber(aprRequest['0']?.average_stakingapr)
}
} else if (path === 'sifchain') {
const aprRequest = await got.get("https://data.sifchain.finance/beta/validator/stakingRewards", gotOpts).json();
Expand Down

0 comments on commit afddf26

Please sign in to comment.