diff options
author | Jason Cobb <jason.e.cobb@gmail.com> | 2018-05-31 05:02:47 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-25 22:17:50 +0800 |
commit | 98c9ca257568e8f281a5d8857a45ef2c8aef2c77 (patch) | |
tree | 728ebe462c3ec65a90e44d7c3d6558a03418de6b /test/contracts/FixedFeeRegistrar.cpp | |
parent | 48b003d4d4e4ebddf8922fb06a47c1634203d0bc (diff) | |
download | dexon-solidity-98c9ca257568e8f281a5d8857a45ef2c8aef2c77.tar.gz dexon-solidity-98c9ca257568e8f281a5d8857a45ef2c8aef2c77.tar.zst dexon-solidity-98c9ca257568e8f281a5d8857a45ef2c8aef2c77.zip |
Update tests for strict address literals
Diffstat (limited to 'test/contracts/FixedFeeRegistrar.cpp')
-rw-r--r-- | test/contracts/FixedFeeRegistrar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/contracts/FixedFeeRegistrar.cpp b/test/contracts/FixedFeeRegistrar.cpp index a3a27c37..1fd58403 100644 --- a/test/contracts/FixedFeeRegistrar.cpp +++ b/test/contracts/FixedFeeRegistrar.cpp @@ -76,7 +76,7 @@ contract FixedFeeRegistrar is Registrar { function reserve(string _name) payable { Record rec = m_record(_name); - if (rec.owner == 0 && msg.value >= c_fee) { + if (rec.owner == 0x0000000000000000000000000000000000000000 && msg.value >= c_fee) { rec.owner = msg.sender; Changed(_name); } |