From b49850b0a013b51bafc76faac520c339a9eec543 Mon Sep 17 00:00:00 2001 From: gs8nrv <55771972+GuillaumeNervoXS@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:08:27 +0200 Subject: [PATCH] remove useless string --- src/dex/angle-transmuter/pyth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;