Skip to content

Commit

Permalink
prevent gas errors with low level call
Browse files Browse the repository at this point in the history
  • Loading branch information
3esmit committed Sep 30, 2018
1 parent fbd0e3a commit a1fe1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/registry/UsernameRegistrar.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1fe1f0

Please sign in to comment.