use of debug

This commit is contained in:
Rodney Witcher II 2019-03-21 00:23:40 -07:00
parent a34217cc34
commit a5c72a0bc3

View File

@ -58,12 +58,11 @@ class TransportWOLK extends Transport {
console.log("WOLK: createAccount because ecsaKey null")
return await this.wolk.createAccount(wolkName)
.then( hash => {
console.log("[WOLK] Account Created: [" + wolkName + "] hash: " + hash + " KEY: " + this.wolk.ecdsaKey)
debug("[WOLK] Account Created: [" + wolkName + "] hash: " + hash + " KEY: " + this.wolk.ecdsaKey)
})
.catch( err => {
throw new Error("Error Creating Account: " + err);
})
})
}
});
try {