added small condition

This commit is contained in:
Thrilok kumar 2024-03-08 19:15:14 -05:00
parent 751ccf6762
commit c4b88b4c3a

View File

@ -248,7 +248,7 @@ contract PayloadIGP9 {
}
function propose(string memory description) external {
require(msg.sender == PROPOSER, "msg.sender-not-proposer");
require(msg.sender == PROPOSER || msg.sender == TEAM_MULTISIG, "msg.sender-not-proposer-or-multisig");
uint256 totalActions = 1;
address[] memory targets = new address[](totalActions);