diff --git a/src/nova/nova.controller.ts b/src/nova/nova.controller.ts index e285589..49093d3 100644 --- a/src/nova/nova.controller.ts +++ b/src/nova/nova.controller.ts @@ -77,7 +77,7 @@ export class NovaController { errmsg: "no error", total_points: finalTotalPoints.toString(), data: finalPoints.map((point) => { - point.points = point.realPoints; + point.points = BigNumber(point.points); point.balance = BigNumber(ethers.formatEther(point.balance)).toFixed(6); return point; }),