aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/Wallet.cpp
diff options
context:
space:
mode:
authorDaniel Kirchner <daniel@ekpyron.org>2018-05-08 19:09:15 +0800
committerDaniel Kirchner <daniel@ekpyron.org>2018-07-03 00:58:43 +0800
commit469dc7bbe72c3ac1c32d46a233e4bf0b36451c22 (patch)
tree7d73e4a00196aa616b275b12640f7103feb4a255 /test/contracts/Wallet.cpp
parentf5e1cf7753bb6a87f5a9a11db6a497dc4b2ccca5 (diff)
downloaddexon-solidity-469dc7bbe72c3ac1c32d46a233e4bf0b36451c22.tar.gz
dexon-solidity-469dc7bbe72c3ac1c32d46a233e4bf0b36451c22.tar.zst
dexon-solidity-469dc7bbe72c3ac1c32d46a233e4bf0b36451c22.zip
Update test contracts.
Diffstat (limited to 'test/contracts/Wallet.cpp')
-rw-r--r--test/contracts/Wallet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp
index 1db1e4e2..fb104300 100644
--- a/test/contracts/Wallet.cpp
+++ b/test/contracts/Wallet.cpp
@@ -177,7 +177,7 @@ contract multiowned {
return m_ownerIndex[uint(_addr)] > 0;
}
- function hasConfirmed(bytes32 _operation, address _owner) constant returns (bool) {
+ function hasConfirmed(bytes32 _operation, address _owner) view returns (bool) {
PendingState pending = m_pending[_operation];
uint ownerIndex = m_ownerIndex[uint(_owner)];
@@ -319,7 +319,7 @@ contract daylimit is multiowned {
return false;
}
// determines today's index.
- function today() private constant returns (uint) { return now / 1 days; }
+ function today() private view returns (uint) { return now / 1 days; }
// FIELDS