Skip to content

Commit

Permalink
calc days
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonard-Pat committed Jun 25, 2024
1 parent 56fb502 commit ea5ae6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests-integration/upgrade.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import {
} from "../lib";

// Time window which must pass before the upgrade can be performed
const MIN_SECURITY_PERIOD = 7n * 24n * 60n * 60n; // 7 day
const MIN_SECURITY_PERIOD = 7n * 24n * 60n * 60n; // 7 day

// Time window during which the upgrade can be performed
const VALID_WINDOW_PERIOD = 604800n; // 7 * 24 * 60 * 60; // 7 days
const VALID_WINDOW_PERIOD = 7n * 24n * 60n * 60n; // 7 day

const CURRENT_TIME = 1718898082n;

Expand Down

0 comments on commit ea5ae6c

Please sign in to comment.