finish it all up

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

View File

@ -56,7 +56,6 @@ class ENS {
configureENSRegistry() {
const self = this;
console.log("DIS DIR RIGHT HEYA: ", __dirname);
self.embark.registerContractConfiguration({
"default": {
"gas": "auto",
@ -89,7 +88,7 @@ class ENS {
addSetProvider(config) {
let code = "\nEmbarkJS.Names.setProvider('ens'," + config + ");";
let code = "\nEmbarkJS.Names.setProvider('ens'," + JSON.stringify(config) + ");";
let shouldInit = (namesConfig) => {
return (namesConfig.provider === 'ens' && namesConfig.enabled === true);