fix variable name being passed to name provider implementation

This commit is contained in:
Iuri Matias 2018-05-28 12:20:04 -04:00
parent ef3bde1053
commit 5b58c9f1b8
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ EmbarkJS.Names.lookup = function(identifier) {
if (!this.currentNameSystems) { if (!this.currentNameSystems) {
throw new Error('Name system provider not set; e.g EmbarkJS.Names.setProvider("ens")'); throw new Error('Name system provider not set; e.g EmbarkJS.Names.setProvider("ens")');
} }
return this.currentNameSystems.lookup(name); return this.currentNameSystems.lookup(identifier);
} }
// To Implement // To Implement