Skip to content

Commit c4db781

Browse files
committed
Update DAO contracts to not use modifiers on functions without bodies
1 parent 87b66e6 commit c4db781

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/DAO/DAO.sol

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,6 @@ contract DAOInterface {
145145
DAO newDAO;
146146
}
147147

148-
// Used to restrict access to certain functions to only DAO Token Holders
149-
modifier onlyTokenholders { _; }
150-
151148
/// @dev Constructor setting the Curator and the address
152149
/// for the contract able to create another DAO as well as the parameters
153150
/// for the DAO Token Creation
@@ -206,7 +203,7 @@ contract DAOInterface {
206203
bytes memory _transactionData,
207204
uint _debatingPeriod,
208205
bool _newCurator
209-
) onlyTokenholders public returns (uint _proposalID);
206+
) public returns (uint _proposalID);
210207

211208
/// @notice Check that the proposal with the ID `_proposalID` matches the
212209
/// transaction which sends `_amount` with data `_transactionData`
@@ -230,7 +227,7 @@ contract DAOInterface {
230227
function vote(
231228
uint _proposalID,
232229
bool _supportsProposal
233-
) onlyTokenholders public returns (uint _voteID);
230+
) public returns (uint _voteID);
234231

235232
/// @notice Checks whether proposal `_proposalID` with transaction data
236233
/// `_transactionData` has been voted for or rejected, and executes the

0 commit comments

Comments
 (0)