Skip to content

Commit

Permalink
Prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed May 26, 2024
1 parent d2e1045 commit f7f3374
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/utils/GovProposalHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ library GovProposalHelper {
if (state == IGovernor.ProposalState.Active) {
console.log("Voting on proposal...");
// Vote on proposal
try governance.castVote(proposalId, 1) {}
catch {}
try governance.castVote(proposalId, 1) {} catch {}
// Wait for voting to end
vm.roll(governance.proposalDeadline(proposalId) + 20);
vm.warp(block.timestamp + 2 days);
Expand Down

0 comments on commit f7f3374

Please sign in to comment.