address lastAdd = address(0);
for (uint i = 0; i < owners_.length; i++) {
require(owners_[i] > lastAdd);
isOwner[owners_[i]] = true;
lastAdd = owners_[i];
}
Why do you require(owners_[i] > lastAdd);? Are you checking that the address array is sorted (this should be document above the constructor)? Why? Is it to prevent duplicate addresses?
It's not clear what this piece of code does.
Why do you
require(owners_[i] > lastAdd);
? Are you checking that the address array is sorted (this should be document above the constructor)? Why? Is it to prevent duplicate addresses?