Skip to content

Commit

Permalink
Merge branch 'develop' into rubic-2360
Browse files Browse the repository at this point in the history
  • Loading branch information
PseudoElement authored Apr 15, 2024
2 parents def5fea + b5d5f95 commit d1852e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/features/earn/services/staking.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class StakingService {
public readonly MIN_STAKE_AMOUNT = 1;

public readonly MAX_LOCK_TIME = Math.floor(
Math.trunc((STAKING_END_TIMESTAMP - Date.now()) / MILLISECONDS_IN_MONTH)
Math.trunc((STAKING_END_TIMESTAMP - Date.now() - MILLISECONDS_IN_MONTH) / MILLISECONDS_IN_MONTH)
);

public readonly user$ = this.authService.currentUser$;
Expand Down

0 comments on commit d1852e0

Please sign in to comment.