fix ens by using right addres depending on chain and also add isAvailable

This commit is contained in:
Jonathan Rainville 2018-07-11 12:47:15 -04:00 committed by Pascal Precht
parent 00410b7057
commit e2c1cb46bf
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 4 additions and 0 deletions

View File

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