davidp94/dp2pDocProof

check constructor parameters length

davidp94 opened this issue · 0 comments

require(minSignature > 0 && minSignature <= _authorities.length);

Somebody could put the contract in a non working state by specifying an address multiple times and gives a greater number of minRequiredSignature than actual address

the minRequiredSignature should be computed after the loop by summing all unique authorities addresses.