From a43a693dc75e8259a6dcc9169992f19dc1bce5ae Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Tue, 5 Sep 2023 13:22:51 +0800 Subject: [PATCH] update script of deploy stake --- migrations/9_deploy_stake.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/migrations/9_deploy_stake.js b/migrations/9_deploy_stake.js index b8ea650..17cd8c0 100644 --- a/migrations/9_deploy_stake.js +++ b/migrations/9_deploy_stake.js @@ -28,10 +28,10 @@ module.exports = async function (deployer, network, accounts) { const DAYSECONDS = 24 * 60 * 60; const periods = [ 30 * DAYSECONDS, // 1 month 2592000 - 91 * DAYSECONDS, // 3 months 7862400 - 182 * DAYSECONDS, // 6 months 15724800 - 365 * DAYSECONDS, // 1 year 31536000 - 730 * DAYSECONDS, // 2 years 63072000 + 90 * DAYSECONDS, // 3 months 7776000 + 180 * DAYSECONDS, // 6 months 15552000 + 360 * DAYSECONDS, // 1 year 31104000 + 720 * DAYSECONDS, // 2 years 62208000 ]; for (let i = 0; i < periods.length; i++) { await stakeInstance.updatePeriods(periods[i], true);