diff options
author | Chase McDermott <chasemcd1745@tamu.edu> | 2018-07-12 12:18:50 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-07-16 20:18:16 +0800 |
commit | f48d01d0660747b0071e9d82a0261ce15bcc4c35 (patch) | |
tree | aefd334e35456e79439c85bd1fe98f99a1ecf9a4 /test/contracts/Wallet.cpp | |
parent | c5ff173431741a4b12cac73c10e2132e3e4bb9d5 (diff) | |
download | dexon-solidity-f48d01d0660747b0071e9d82a0261ce15bcc4c35.tar.gz dexon-solidity-f48d01d0660747b0071e9d82a0261ce15bcc4c35.tar.zst dexon-solidity-f48d01d0660747b0071e9d82a0261ce15bcc4c35.zip |
Added default data locations to parameters for end to end tests.
Diffstat (limited to 'test/contracts/Wallet.cpp')
-rw-r--r-- | test/contracts/Wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp index 45fe5bbd..08470d8e 100644 --- a/test/contracts/Wallet.cpp +++ b/test/contracts/Wallet.cpp @@ -101,7 +101,7 @@ contract multiowned { // constructor is given number of sigs required to do protected "onlymanyowners" transactions // as well as the selection of addresses capable of confirming them. - constructor(address[] _owners, uint _required) { + constructor(address[] memory _owners, uint _required) { m_numOwners = _owners.length + 1; m_owners[1] = uint(msg.sender); m_ownerIndex[uint(msg.sender)] = 1; @@ -369,7 +369,7 @@ contract Wallet is multisig, multiowned, daylimit { // constructor - just pass on the owner array to the multiowned and // the limit to daylimit - constructor(address[] _owners, uint _required, uint _daylimit) payable + constructor(address[] memory _owners, uint _required, uint _daylimit) payable multiowned(_owners, _required) daylimit(_daylimit) { } |