From 843a51631bc28e554762d56804d9cf21fba5fb04 Mon Sep 17 00:00:00 2001 From: Dong-Ha Kim Date: Thu, 12 Oct 2023 16:21:34 +0200 Subject: [PATCH] fix(ampli): quoteTimestamp precision (#867) --- src/utils/amplitude.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/amplitude.ts b/src/utils/amplitude.ts index fe106b295..e400e3081 100644 --- a/src/utils/amplitude.ts +++ b/src/utils/amplitude.ts @@ -290,7 +290,7 @@ export function generateTransferQuote( lpFeeTotal: formatTokens(fees.lpFee.total), lpFeeTotalUsd: usdEquivalentString(fees.lpFee.total), quoteLatencyMilliseconds: fees.quoteLatency.toString(), - quoteTimestamp: String(fees.quoteTimestampInMs ?? Date.now()), + quoteTimestamp: String(fees.quoteTimestamp), recipient: toAddress || "not connected", relayFeePct: formatWeiEtherPct(fees.relayerFee.pct), relayFeeTotal: formatTokens(fees.relayerFee.total),