mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-01-22 08:38:48 +00:00
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);
|
||||
//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
|
||||
|
Loading…
x
Reference in New Issue
Block a user