Skip to content

Commit

Permalink
change to apy
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed May 8, 2022
1 parent 02e47ac commit b8f0f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adaptors/pickle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function apy() {
function aggregateApys(strategy) {
let apy = 0;
if (strategy.hasOwnProperty('aprStats')) {
apy += strategy.aprStats.apr;
apy += strategy.aprStats.apy;
};
if (strategy.hasOwnProperty('farm')
&& strategy.farm.details.farmApyComponents != undefined) {
Expand Down

0 comments on commit b8f0f5e

Please sign in to comment.