Skip to content

Commit

Permalink
Merge pull request #1847 from privacy-scaling-explorations/feature/vi…
Browse files Browse the repository at this point in the history
…rtual-modifiers-poll

feat(contracts): add virtual modifier for getDeployTimeAndDuration
  • Loading branch information
0xmad authored Oct 4, 2024
2 parents 07552f4 + 679198f commit 038c9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/contracts/contracts/Poll.sol
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ contract Poll is Params, Utilities, SnarkCommon, IPoll {
}

/// @inheritdoc IPoll
function getDeployTimeAndDuration() public view returns (uint256 pollDeployTime, uint256 pollDuration) {
function getDeployTimeAndDuration() public view virtual returns (uint256 pollDeployTime, uint256 pollDuration) {
pollDeployTime = deployTime;
pollDuration = duration;
}
Expand Down

0 comments on commit 038c9a2

Please sign in to comment.