use .selector

This commit is contained in:
Ricardo Guilherme Schmidt 2019-05-30 22:57:08 -03:00
parent cb61c768b7
commit 6e20e7d364
No known key found for this signature in database
GPG Key ID: 3F95A3AD0B607030

View File

@ -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
)
);