Adjusts compilation tests to read-only array length.

This commit is contained in:
Erik Kundt
2019-11-19 16:09:21 +01:00
parent ecaed1030f
commit 5020e186da
4 changed files with 5 additions and 4 deletions
@@ -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);