From 6e20e7d36440b904b2ce7c1054984c011280f36d Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Thu, 30 May 2019 22:57:08 -0300 Subject: [PATCH] use .selector --- contracts/registry/UsernameRegistrar.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/registry/UsernameRegistrar.sol b/contracts/registry/UsernameRegistrar.sol index 05fe2d8..c8e49cf 100644 --- a/contracts/registry/UsernameRegistrar.sol +++ b/contracts/registry/UsernameRegistrar.sol @@ -156,8 +156,8 @@ contract UsernameRegistrar is Controlled, ApproveAndCallFallBack { //Low level call, case dropUsername not implemented or failing, proceed release. //Return of this call have no use. newOwner.call.gas(80000)( - abi.encodeWithSignature( - "dropUsername(bytes32)", + abi.encodeWithSelector( + this.dropUsername.selector, _label ) );