mirror of https://github.com/embarklabs/embark.git
get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
f6fccd4588
commit
220800fcc3
|
@ -1,4 +1,3 @@
|
|||
/*global web3*/
|
||||
const fs = require('../../core/fs.js');
|
||||
const utils = require('../../utils/utils.js');
|
||||
|
||||
|
@ -87,7 +86,7 @@ class ENS {
|
|||
}
|
||||
|
||||
addSetProvider(config) {
|
||||
|
||||
|
||||
let code = "\nEmbarkJS.Names.setProvider('ens'," + JSON.stringify(config) + ");";
|
||||
|
||||
let shouldInit = (namesConfig) => {
|
||||
|
|
Loading…
Reference in New Issue