diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-11 19:30:46 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-07-12 18:54:42 +0800 |
commit | 899efd5e64ea90cb44b21d49c0fe0a230732fcb8 (patch) | |
tree | 79888183961f51833a5ac8b1022701f513b9e723 /test/compilationTests/MultiSigWallet | |
parent | 8b4b8bdbae2f67445178ebe3b12d23bb4f46f9d2 (diff) | |
download | dexon-solidity-899efd5e64ea90cb44b21d49c0fe0a230732fcb8.tar.gz dexon-solidity-899efd5e64ea90cb44b21d49c0fe0a230732fcb8.tar.zst dexon-solidity-899efd5e64ea90cb44b21d49c0fe0a230732fcb8.zip |
Update compilation tests wrt requiring storage locations.
Diffstat (limited to 'test/compilationTests/MultiSigWallet')
-rw-r--r-- | test/compilationTests/MultiSigWallet/MultiSigWallet.sol | 2 | ||||
-rw-r--r-- | test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimit.sol | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/MultiSigWallet/MultiSigWallet.sol b/test/compilationTests/MultiSigWallet/MultiSigWallet.sol index 6b10f17e..c2a6c3ef 100644 --- a/test/compilationTests/MultiSigWallet/MultiSigWallet.sol +++ b/test/compilationTests/MultiSigWallet/MultiSigWallet.sol @@ -225,7 +225,7 @@ contract MultiSigWallet { notExecuted(transactionId) { if (isConfirmed(transactionId)) { - Transaction tx = transactions[transactionId]; + Transaction storage tx = transactions[transactionId]; tx.executed = true; if (tx.destination.call.value(tx.value)(tx.data)) emit Execution(transactionId); diff --git a/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimit.sol b/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimit.sol index 3a68f662..c1b1d7ea 100644 --- a/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimit.sol +++ b/test/compilationTests/MultiSigWallet/MultiSigWalletWithDailyLimit.sol @@ -42,7 +42,7 @@ contract MultiSigWalletWithDailyLimit is MultiSigWallet { public notExecuted(transactionId) { - Transaction tx = transactions[transactionId]; + Transaction storage tx = transactions[transactionId]; bool confirmed = isConfirmed(transactionId); if (confirmed || tx.data.length == 0 && isUnderLimit(tx.value)) { tx.executed = true; |