From 6145ac2da7fde593b8314f911e817bf36f378886 Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Wed, 5 Sep 2018 22:18:37 -0300 Subject: [PATCH] supress warning in low level call --- contracts/registry/UsernameRegistrar.sol | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contracts/registry/UsernameRegistrar.sol b/contracts/registry/UsernameRegistrar.sol index 496c194..e9c826d 100644 --- a/contracts/registry/UsernameRegistrar.sol +++ b/contracts/registry/UsernameRegistrar.sol @@ -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