Permalink
Browse files

prevent gas errors with low level call

  • Loading branch information...
3esmit committed Sep 30, 2018
1 parent fbd0e3a commit a1fe1f02e7e0d8f19871f9a9dedbf3bd4cce3a4b
Showing with 1 addition and 1 deletion.
  1. +1 −1 contracts/registry/UsernameRegistrar.sol
@@ -150,7 +150,7 @@ contract UsernameRegistrar is Controlled, ApproveAndCallFallBack {
address newOwner = ensRegistry.owner(ensNode);
//Low level call, case dropUsername not implemented or failing, proceed release.
//Invert (!) to supress warning, return of this call have no use.
!newOwner.call(
!newOwner.call.gas(80000)(
abi.encodeWithSignature(
"dropUsername(bytes32)",
_label

0 comments on commit a1fe1f0

Please sign in to comment.