mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Adjusts compilation tests to read-only array length.
This commit is contained in:
@@ -143,7 +143,7 @@ contract MultiSigWallet {
|
||||
owners[i] = owners[owners.length - 1];
|
||||
break;
|
||||
}
|
||||
owners.length -= 1;
|
||||
owners.pop();
|
||||
if (required > owners.length)
|
||||
changeRequirement(owners.length);
|
||||
emit OwnerRemoval(owner);
|
||||
|
||||
Reference in New Issue
Block a user