supress warning in low level call

This commit is contained in:
Ricardo Guilherme Schmidt 2018-09-05 22:18:37 -03:00
parent e43f8e5228
commit 6145ac2da7
No known key found for this signature in database
GPG Key ID: 3F95A3AD0B607030
1 changed files with 3 additions and 2 deletions

View File

@ -127,7 +127,8 @@ contract UsernameRegistrar is Controlled, ApproveAndCallFallBack {
require(msg.sender == account.owner, "Not the former account owner.");
address newOwner = ensRegistry.owner(ensNode);
//low level call, case dropUsername not implemented or failing, proceed release.
newOwner.call(
//invert to supress warning
!newOwner.call(
abi.encodeWithSignature(
"dropUsername(bytes32)",
_label