mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-01-21 00:00:47 +00:00
supress warning in low level call
This commit is contained in:
parent
e43f8e5228
commit
6145ac2da7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user