Skip to content

Commit

Permalink
Merge pull request #102 from paraswap/fix/wrong-pending-claimable
Browse files Browse the repository at this point in the history
fix: wrong pending claimable on non-staking network (i.e. polygon)
  • Loading branch information
alexshchur authored Nov 22, 2023
2 parents d58cb93 + 783a8f1 commit eff2f36
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/gas-refund/gas-refund-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,7 @@ export class GasRefundApi {
const latestEpochRefunded = await GasRefundDistribution.max<
number,
GasRefundDistribution
>('epoch', {
where: {
chainId: this.network,
},
});
>('epoch');

const rawPendingData: PendingRefundRawData[] =
await Database.sequelize.query(PENDING_DATA_SQL_QUERY, {
Expand Down

0 comments on commit eff2f36

Please sign in to comment.