Skip to content

Commit 8df01fa

Browse files
committed
fixes
1 parent 03bc875 commit 8df01fa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/adaptors/drops/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const main = async () => {
189189
const priceKey = 'coingecko:drops-ownership-power';
190190
const protocolTokenPrice = (
191191
await utils.getData(`https://coins.llama.fi/prices/current/${priceKey}`)
192-
).coins[priceKey].price;
192+
).coins[priceKey]?.price;
193193

194194
prices[PROTOCOL_TOKEN.address] = protocolTokenPrice;
195195

src/adaptors/kiloex/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const getApy = async () => {
104104
})
105105
);
106106

107-
return pools.flat();
107+
return utils.removeDuplicates(pools.flat())
108108
};
109109

110110
module.exports = {

src/utils/exclude.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ const excludeAdaptors = [
157157
'liquid-bolt',
158158
'avault',
159159
'metastreet-v2',
160+
'mero',
160161
];
161162

162163
const excludePools = [

0 commit comments

Comments
 (0)