Skip to content

Commit 7e41153

Browse files
authored
Merge pull request #206 from ankitsaxena21/patch-2
Update Admin.sol
2 parents 23f550b + 660a1b3 commit 7e41153

File tree

1 file changed

+2
-3
lines changed
  • ledger/template/ethereum-on-azure/permissioning-contracts/validation-set

1 file changed

+2
-3
lines changed

ledger/template/ethereum-on-azure/permissioning-contracts/validation-set/Admin.sol

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ contract AdminSet {
104104

105105
// Solidity doesn't support return of dynamic sized arrays
106106
function getAddressList() public view callerIsOwner returns (address[200] staticList) {
107-
for (uint i = 0; i < addressList.length; i++)
108-
{
107+
for (uint i = 0; i < addressList.length; i++) {
109108
staticList[i] = addressList[i];
110109
}
111110
}
@@ -144,4 +143,4 @@ contract AdminSet {
144143
require(owner == msg.sender);
145144
_;
146145
}
147-
}
146+
}

0 commit comments

Comments
 (0)