prevent gas errors with low level call
This commit is contained in:
parent
fbd0e3a9a2
commit
a1fe1f02e7
|
@ -150,7 +150,7 @@ contract UsernameRegistrar is Controlled, ApproveAndCallFallBack {
|
||||||
address newOwner = ensRegistry.owner(ensNode);
|
address newOwner = ensRegistry.owner(ensNode);
|
||||||
//Low level call, case dropUsername not implemented or failing, proceed release.
|
//Low level call, case dropUsername not implemented or failing, proceed release.
|
||||||
//Invert (!) to supress warning, return of this call have no use.
|
//Invert (!) to supress warning, return of this call have no use.
|
||||||
!newOwner.call(
|
!newOwner.call.gas(80000)(
|
||||||
abi.encodeWithSignature(
|
abi.encodeWithSignature(
|
||||||
"dropUsername(bytes32)",
|
"dropUsername(bytes32)",
|
||||||
_label
|
_label
|
||||||
|
|
Loading…
Reference in New Issue