diff options
author | Christian Parpart <christian@ethereum.org> | 2018-06-28 21:19:53 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-07-02 20:32:05 +0800 |
commit | e251cdcf47667ad3e7c88446d8b26cb3ae1bd0f2 (patch) | |
tree | 2537abaa6dc1cbcfc6c496935319f33563cddb43 /test/contracts/Wallet.cpp | |
parent | e289c36158701ba0b874051e9e426e270b0e38e2 (diff) | |
download | dexon-solidity-e251cdcf47667ad3e7c88446d8b26cb3ae1bd0f2.tar.gz dexon-solidity-e251cdcf47667ad3e7c88446d8b26cb3ae1bd0f2.tar.zst dexon-solidity-e251cdcf47667ad3e7c88446d8b26cb3ae1bd0f2.zip |
test: ensure compiled tests do not use var-keyword in preparation of var-keyword removal
Diffstat (limited to 'test/contracts/Wallet.cpp')
-rw-r--r-- | test/contracts/Wallet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp index 6328b518..b914f2c1 100644 --- a/test/contracts/Wallet.cpp +++ b/test/contracts/Wallet.cpp @@ -119,7 +119,7 @@ contract multiowned { // make sure they're an owner if (ownerIndex == 0) return; uint ownerIndexBit = 2**ownerIndex; - var pending = m_pending[_operation]; + PendingState pending = m_pending[_operation]; if (pending.ownersDone & ownerIndexBit > 0) { pending.yetNeeded++; pending.ownersDone -= ownerIndexBit; @@ -178,7 +178,7 @@ contract multiowned { } function hasConfirmed(bytes32 _operation, address _owner) constant returns (bool) { - var pending = m_pending[_operation]; + PendingState pending = m_pending[_operation]; uint ownerIndex = m_ownerIndex[uint(_owner)]; // make sure they're an owner @@ -201,7 +201,7 @@ contract multiowned { // make sure they're an owner if (ownerIndex == 0) return; - var pending = m_pending[_operation]; + PendingState pending = m_pending[_operation]; // if we're not yet working on this operation, switch over and reset the confirmation status. if (pending.yetNeeded == 0) { // reset count of confirmations needed. |