From cb940c5f4cf81ca60f30c5d54e14ae29cf070e2b Mon Sep 17 00:00:00 2001 From: alelliott Date: Tue, 18 Jun 2024 16:57:16 -0400 Subject: [PATCH] no deposit locked date changed to now + lockupPeriod --- src/pages/HomePage/views/PublicPoolView.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/HomePage/views/PublicPoolView.vue b/src/pages/HomePage/views/PublicPoolView.vue index 20d4470..b2fa094 100644 --- a/src/pages/HomePage/views/PublicPoolView.vue +++ b/src/pages/HomePage/views/PublicPoolView.vue @@ -188,9 +188,7 @@ const barIndicators = computed(() => [ ? userPoolData.value.lastStake .add(poolData.value.withdrawLockPeriodAfterStake) .toNumber() - : poolData.value.payoutStart - .add(poolData.value.withdrawLockPeriod) - .toNumber(), + : Math.floor(Date.now() / 1000) + poolData.value.withdrawLockPeriodAfterStake.toNumber(), ).format(DEFAULT_TIME_FORMAT) : '', note: t('home-page.public-pool-view.withdraw-at-note'),