From e3604821c2b68f3bce6afa1c2396a41568742117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wei=C3=9Fer=20Hase?= Date: Tue, 8 Oct 2024 14:24:55 -0300 Subject: [PATCH] chore: final release --- js/src/main.ts | 2 +- program/src/processor.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/main.ts b/js/src/main.ts index cab9705..79bb836 100644 --- a/js/src/main.ts +++ b/js/src/main.ts @@ -23,7 +23,7 @@ import bs58 from 'bs58'; * The vesting schedule program ID */ export const VESTING_PROGRAM_ID = new PublicKey( - 'AKUgi92CLv6ce4d6MNHZXeKUFU2SbnAzLc77JN63EGBA' + 'HE6bCtjsrra8DRbJnexKoVPSr5dYs57s3cuGHfotiQbq' ); export const TOKEN_MINT = new PublicKey( diff --git a/program/src/processor.rs b/program/src/processor.rs index 550f425..81de3ef 100644 --- a/program/src/processor.rs +++ b/program/src/processor.rs @@ -199,7 +199,7 @@ impl Processor { 0 => { release_time = 0; } - 1800 | 3600 | 5400 | 7200 => { + 7_776_000 | 15_552_000 | 23_328_000 | 31_104_000 => { release_time = clock.unix_timestamp as u64 + schedule.time_delta; } _ => { @@ -435,7 +435,7 @@ impl Processor { } // Withdrawal period is 7 days = 7 * 86400 = 604_800 - schedule.release_time = clock.unix_timestamp as u64 + 1800; + schedule.release_time = clock.unix_timestamp as u64 + 604_800; // Pack the updated schedule back into the account data pack_schedule_into_slice(