Description:Description
The _setCommittee function lacks a check against address 0 for each address in _committee. If any of these addresses are set to 0, it may lead to a temporary lock of funds for the specific committeeId as the threshold may not be reached.
Impact
Temporary freezing of funds.
Revised Code File (Optional)
Implement a check for each address in _committee against address 0.
Github username: @0xmahdirostami Twitter username: 0xmahdirostami Submission hash (on-chain): 0xdc5e623268598a3fb522fb35cea865c7d6a02b6a5e290ba94e9816ddec551676 Severity: low
Description: Description
The
_setCommittee
function lacks a check against address 0 for each address in_committee
. If any of these addresses are set to 0, it may lead to a temporary lock of funds for the specificcommitteeId
as the threshold may not be reached.Impact
Temporary freezing of funds.
Revised Code File (Optional)
Implement a check for each address in
_committee
against address 0.