Fixed ENS lookupAddress when the resolver isn't configured (#581).
This commit is contained in:
parent
2967efc2b0
commit
760a5aec74
@ -1221,6 +1221,8 @@ export class BaseProvider extends Provider {
|
||||
return self.call(transaction);
|
||||
|
||||
}).then(function(data) {
|
||||
if (data == null) { return null; }
|
||||
|
||||
// Strip off the "0x"
|
||||
data = data.substring(2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user