Skip to content

Commit

Permalink
fix ether-fi
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Jan 17, 2025
1 parent 9c37259 commit 8855835
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fees/ether-fi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ const getSsvRevenue = async (options: FetchOptions) => {
let ssv_revenue = 0;
for (const log of logs) {
if (log.from.toLowerCase() === "0x8fb66F38cF86A3d5e8768f8F1754A24A6c661Fb8".toLowerCase()) {
ssv_revenue += +log.value;
ssv_revenue += +Number(log.value);
}
else {
ssv_revenue += +log.value * 0.8;
ssv_revenue += +Number(log.value) * 0.8;
}
}
return BigInt(ssv_revenue);
Expand Down Expand Up @@ -197,4 +197,3 @@ const adapter: Adapter = {
};

export default adapter;

0 comments on commit 8855835

Please sign in to comment.