Skip to content

Commit

Permalink
Merge pull request #206 from ankitsaxena21/patch-2
Browse files Browse the repository at this point in the history
Update Admin.sol
  • Loading branch information
ramyapradhan committed Mar 20, 2020
2 parents 23f550b + 660a1b3 commit 7e41153
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ contract AdminSet {

// Solidity doesn't support return of dynamic sized arrays
function getAddressList() public view callerIsOwner returns (address[200] staticList) {
for (uint i = 0; i < addressList.length; i++)
{
for (uint i = 0; i < addressList.length; i++) {
staticList[i] = addressList[i];
}
}
Expand Down Expand Up @@ -144,4 +143,4 @@ contract AdminSet {
require(owner == msg.sender);
_;
}
}
}

0 comments on commit 7e41153

Please sign in to comment.