You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(hasMajority(proposalID) && (isEqual(_type, 'DAO') || isEqual(_type, 'UTILS') || isEqual(_type, 'REWARD')))
check the condition on line 84 in the outer if.
The text was updated successfully, but these errors were encountered:
Handle
s1m0
Vulnerability details
Impact
voteProposal can be simplified,
Proof of Concept
https://github.com/code-423n4/2021-04-vader/blob/main/vader-protocol/contracts/DAO.sol#L83
Tools Used
Manual analysis
Recommended Mitigation Steps
if(hasMajority(proposalID) && (isEqual(_type, 'DAO') || isEqual(_type, 'UTILS') || isEqual(_type, 'REWARD')))
check the condition on line 84 in the outer if.
The text was updated successfully, but these errors were encountered: