aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/FixedFeeRegistrar.cpp
diff options
context:
space:
mode:
authorJason Cobb <jason.e.cobb@gmail.com>2018-05-31 05:02:47 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-25 22:17:50 +0800
commit98c9ca257568e8f281a5d8857a45ef2c8aef2c77 (patch)
tree728ebe462c3ec65a90e44d7c3d6558a03418de6b /test/contracts/FixedFeeRegistrar.cpp
parent48b003d4d4e4ebddf8922fb06a47c1634203d0bc (diff)
downloaddexon-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.cpp2
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);
}