get rid of global web3 in ens

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
VoR0220 2018-06-18 12:52:02 -05:00
parent f6fccd4588
commit 220800fcc3
1 changed files with 1 additions and 2 deletions

View File

@ -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) => {