Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
prevent gas errors with low level call
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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 |
|
|