Skip to content

Commit

Permalink
fix active period
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Aug 20, 2024
1 parent d633f04 commit cef7167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/AdhocVoter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ contract AdhocVoter is IAdhocVoter, Initializable {
) public initializer {
governor = msg.sender;
weekly = 100_000 * 1e18;
activePeriod = ((block.timestamp) / WEEK) * WEEK;
}

function isAlive(address) external override pure returns (bool) {
Expand Down

0 comments on commit cef7167

Please sign in to comment.