Update test contracts.

This commit is contained in:
Daniel Kirchner
2018-07-02 18:58:43 +02:00
parent f5e1cf7753
commit 469dc7bbe7
3 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -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