Skip to content
Prev Previous commit
Next Next commit
Update Governor.sol
  • Loading branch information
Amxx authored Jun 13, 2023
commit 85259b9d02d96cbf30e75ca3115bb105b6e8c5fa
1 change: 0 additions & 1 deletion contracts/governance/Governor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,6 @@ abstract contract Governor is Context, ERC165, EIP712, IGovernor, IERC721Receive
string memory reason,
bytes memory params
) internal virtual returns (uint256) {
ProposalCore storage proposal = _proposals[proposalId];
ProposalState currentState = state(proposalId);
if (currentState != ProposalState.Active) {
revert GovernorUnexpectedProposalState(proposalId, currentState, _encodeStateBitmap(ProposalState.Active));
Expand Down