mirror of https://github.com/embarklabs/embark.git
fix variable name being passed to name provider implementation
This commit is contained in:
parent
ef3bde1053
commit
5b58c9f1b8
|
@ -305,7 +305,7 @@ EmbarkJS.Names.lookup = function(identifier) {
|
|||
if (!this.currentNameSystems) {
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue