Skip to content

Commit

Permalink
Merge branch 'rubic-2360' of https://github.com/Cryptorubic/rubic-app
Browse files Browse the repository at this point in the history
…into rubic-2360
  • Loading branch information
PseudoElement committed Apr 15, 2024
2 parents 4286716 + d1852e0 commit 7365ca1
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 7365ca1

Please sign in to comment.