Fixed Provider.lookup to support any address format.
This commit is contained in:
parent
bbd3c94ec3
commit
afb35ec307
@ -785,7 +785,9 @@ utils.defineProperty(Provider.prototype, 'resolveName', function(name) {
|
||||
});
|
||||
|
||||
utils.defineProperty(Provider.prototype, 'lookupAddress', function(address) {
|
||||
var name = utils.getAddress(address).substring(2) + '.addr.reverse'
|
||||
address = utils.getAddress(address);
|
||||
|
||||
var name = address.substring(2) + '.addr.reverse'
|
||||
var nodehash = utils.namehash(name);
|
||||
|
||||
var self = this;
|
||||
|
Loading…
Reference in New Issue
Block a user