diff --git a/src/dex/angle-transmuter/pyth.ts b/src/dex/angle-transmuter/pyth.ts index 787a430d3..e8b71965d 100644 --- a/src/dex/angle-transmuter/pyth.ts +++ b/src/dex/angle-transmuter/pyth.ts @@ -50,7 +50,7 @@ export class PythSubscriber extends PartialEventSubscriber< _state[decoded.id] = { answer: this._processPrice(decoded.price, expo), expo: expo, - timestamp: Number(decoded.publishTime.toString()), + timestamp: Number(decoded.publishTime), }; return _state; } @@ -84,7 +84,7 @@ export class PythSubscriber extends PartialEventSubscriber< _state[id] = { answer: this._processPrice(decodedOracle[index].price, expo), expo: expo, - timestamp: Number(decodedOracle[index].publishTime.toString()), + timestamp: Number(decodedOracle[index].publishTime), }; }); return _state;