diff --git a/sdk/src/math/superStake.ts b/sdk/src/math/superStake.ts index a9be8adc7..289f52ff8 100644 --- a/sdk/src/math/superStake.ts +++ b/sdk/src/math/superStake.ts @@ -439,7 +439,9 @@ export async function calculateSolEarned({ const now = Date.now() / 1000; const timestamps: number[] = [ now, - ...depositRecords.map((r) => r.ts.toNumber()), + ...depositRecords + .filter((r) => r.marketIndex === marketIndex) + .map((r) => r.ts.toNumber()), ]; let lstRatios = new Map();