aboutsummaryrefslogtreecommitdiffstats
path: root/test/contracts/FixedFeeRegistrar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/contracts/FixedFeeRegistrar.cpp')
-rw-r--r--test/contracts/FixedFeeRegistrar.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/contracts/FixedFeeRegistrar.cpp b/test/contracts/FixedFeeRegistrar.cpp
index dec29b37..8cb8257a 100644
--- a/test/contracts/FixedFeeRegistrar.cpp
+++ b/test/contracts/FixedFeeRegistrar.cpp
@@ -81,7 +81,8 @@ contract FixedFeeRegistrar is Registrar {
}
function disown(string _name, address _refund) onlyrecordowner(_name) {
delete m_recordData[uint(sha3(_name)) / 8];
- _refund.send(c_fee);
+ if (!_refund.send(c_fee))
+ throw;
Changed(_name);
}
function transfer(string _name, address _newOwner) onlyrecordowner(_name) {