fix: update estimated time for L2 to L1 usdc bridging (#947)

This commit is contained in:
Victorien Gauch
2025-05-06 19:09:56 +02:00
committed by GitHub
parent 3bede19e49
commit 39844a575e

View File

@@ -69,7 +69,7 @@ export const getEstimatedTimeText = (fromChain: Chain, token: Token, opts: GetEs
const minuteUnit = isAbbreviatedTimeUnit ? "mins" : "minute";
const secondUnit = isAbbreviatedTimeUnit ? "secs" : "second";
if (isCctp(token)) {
if (isCctp(token) && fromChain.layer === ChainLayer.L1) {
return `22 ${secondUnit}${spaceChar}-${spaceChar}19 ${minuteUnit}`;
}
if (fromChain.layer === ChainLayer.L1) {