prevent gas errors with low level call

This commit is contained in:
Ricardo Guilherme Schmidt 2018-09-30 01:58:02 -03:00
parent fbd0e3a9a2
commit a1fe1f02e7
No known key found for this signature in database
GPG Key ID: 3F95A3AD0B607030
1 changed files with 1 additions and 1 deletions

View File

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