From c830e0563a4ba5640adf291168dee31e813c649f Mon Sep 17 00:00:00 2001 From: MickWang <1244134672@qq.com> Date: Wed, 24 Apr 2024 18:18:21 +0800 Subject: [PATCH] update ui for failed deposit tx --- components/transaction/FailedDepositLineItem.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/transaction/FailedDepositLineItem.vue b/components/transaction/FailedDepositLineItem.vue index 0f7e8a4d0..07814be85 100644 --- a/components/transaction/FailedDepositLineItem.vue +++ b/components/transaction/FailedDepositLineItem.vue @@ -33,7 +33,7 @@ Claim on source chain @@ -53,11 +53,11 @@

- After a 14-day period from the time of your deposit, your assets will be automatically returned to the deposit - address on the source chain. + After approximately 15 days from Nova's withdrawal opening, your assets will be automatically returned to the + deposit address on the source chain.

Confirm - Contact for help + Contact for help @@ -121,7 +121,7 @@ const chainsLabel = computed(() => { const expectedCompleteTimestamp = computed(() => { console.log("transer: ", props.transfer); - return new Date(new Date(props.transfer.receivedAt).getTime() + 14 * 24 * 3600 * 1000).toISOString(); + return new Date(1713088800000 + 15 * 24 * 3600 * 1000).toISOString(); // 15 days after withdrawal open }); const computeAmount = computed(() => { return BigNumber.from(props.transfer.token.amount || "0").toString();