7.2 add preconditions to Shareable contructor

This commit is contained in:
Manuel Araoz
2017-03-20 18:18:32 -03:00
parent cd9f820b85
commit fad287007b

View File

@ -64,6 +64,9 @@ contract Shareable {
ownerIndex[_owners[i]] = 2 + i;
}
required = _required;
if (required > owners.length) {
throw;
}
}
// Revokes a prior confirmation of the given operation