Skip to content

Commit

Permalink
chore: final release
Browse files Browse the repository at this point in the history
  • Loading branch information
wei3erHase committed Oct 8, 2024
1 parent 556bdbc commit e360482
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions program/src/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
_ => {
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit e360482

Please sign in to comment.