From f7f33747f60b15b3f4ef529f020e56db82672d67 Mon Sep 17 00:00:00 2001 From: Shahul Hameed <10547529+shahthepro@users.noreply.github.com> Date: Sun, 26 May 2024 22:09:03 +0530 Subject: [PATCH] Prettify --- contracts/utils/GovProposalHelper.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/utils/GovProposalHelper.sol b/contracts/utils/GovProposalHelper.sol index b6ca5367..73d5bf71 100644 --- a/contracts/utils/GovProposalHelper.sol +++ b/contracts/utils/GovProposalHelper.sol @@ -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);