supress warning in low level call
This commit is contained in:
parent
e43f8e5228
commit
6145ac2da7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue