fix ens by using right addres depending on chain and also add isAvailable
This commit is contained in:
parent
00410b7057
commit
e2c1cb46bf
|
@ -374,6 +374,10 @@ EmbarkJS.Names.lookup = function (identifier, callback) {
|
||||||
return this.currentNameSystems.lookup(identifier, callback);
|
return this.currentNameSystems.lookup(identifier, callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
EmbarkJS.Names.isAvailable = function () {
|
||||||
|
return this.currentNameSystems.isAvailable();
|
||||||
|
};
|
||||||
|
|
||||||
// To Implement
|
// To Implement
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue