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

@ -126,8 +126,9 @@ contract UsernameRegistrar is Controlled, ApproveAndCallFallBack {
} else {
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(
//low level call, case dropUsername not implemented or failing, proceed release.
//invert to supress warning
!newOwner.call(
abi.encodeWithSignature(
"dropUsername(bytes32)",
_label