aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-21 06:01:40 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-22 02:21:02 +0800
commit72e87423db8d938a4ef5eea92a56332c607accdb (patch)
treeb35087edce7175dede56de0df7a8b457b020c0e3 /test/contracts
parent32f2db780c6d4d5ca507c595c8f15cacb51972c7 (diff)
downloaddexon-solidity-72e87423db8d938a4ef5eea92a56332c607accdb.tar.gz
dexon-solidity-72e87423db8d938a4ef5eea92a56332c607accdb.tar.zst
dexon-solidity-72e87423db8d938a4ef5eea92a56332c607accdb.zip
Disallow the years unit denomination properly
Diffstat (limited to 'test/contracts')
-rw-r--r--test/contracts/AuctionRegistrar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/contracts/AuctionRegistrar.cpp b/test/contracts/AuctionRegistrar.cpp
index 5e4991e2..33b392d4 100644
--- a/test/contracts/AuctionRegistrar.cpp
+++ b/test/contracts/AuctionRegistrar.cpp
@@ -109,7 +109,7 @@ contract GlobalRegistrar is Registrar, AuctionSystem {
uint renewalDate;
}
- uint constant c_renewalInterval = 1 years;
+ uint constant c_renewalInterval = 365 days;
uint constant c_freeBytes = 12;
function Registrar() {