Fixed ENS lookupAddress when the resolver isn't configured (#581).

This commit is contained in:
Richard Moore 2019-08-22 17:42:23 -04:00
parent 2967efc2b0
commit 760a5aec74
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

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