diff --git a/src/lib/gas-refund/gas-refund-api.ts b/src/lib/gas-refund/gas-refund-api.ts index 1abec3ba..bcea5d18 100644 --- a/src/lib/gas-refund/gas-refund-api.ts +++ b/src/lib/gas-refund/gas-refund-api.ts @@ -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, {