Adjusts end-to-end tests to read-only array length.

This commit is contained in:
Erik Kundt
2019-11-19 21:11:14 +01:00
parent a69a344d70
commit c184fe8e5b
6 changed files with 196 additions and 176 deletions
+2 -2
View File
@@ -208,8 +208,8 @@ contract multiowned {
pending.yetNeeded = m_required;
// reset which owners have confirmed (none) - set our bitmap to 0.
pending.ownersDone = 0;
pending.index = m_pendingIndex.length++;
m_pendingIndex[pending.index] = _operation;
m_pendingIndex.push(_operation);
pending.index = m_pendingIndex.length - 1;
}
// determine the bit to set for this owner.
uint ownerIndexBit = 2**ownerIndex;