mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
get rid of global web3 in ens
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
754a47fad8
commit
78d892c7ca
@ -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…
x
Reference in New Issue
Block a user