Skip to content

Commit

Permalink
fix: same block revealing (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: shaito <[email protected]>
  • Loading branch information
ashitakah and 0xShaito authored Jul 10, 2024
1 parent 00504ec commit e5b84f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ contract PrivateERC20ResolutionModule is Module, IPrivateERC20ResolutionModule {
if (block.timestamp < _escalation.startTime + _params.committingTimeWindow) {
revert PrivateERC20ResolutionModule_OnGoingCommittingPhase();
}
if (block.timestamp < _escalation.startTime + _params.committingTimeWindow + _params.revealingTimeWindow) {
if (block.timestamp <= _escalation.startTime + _params.committingTimeWindow + _params.revealingTimeWindow) {
revert PrivateERC20ResolutionModule_OnGoingRevealingPhase();
}

Expand Down

0 comments on commit e5b84f9

Please sign in to comment.