mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-04-25 14:52:18 +00:00
use of debug
This commit is contained in:
parent
a34217cc34
commit
a5c72a0bc3
@ -58,12 +58,11 @@ class TransportWOLK extends Transport {
|
|||||||
console.log("WOLK: createAccount because ecsaKey null")
|
console.log("WOLK: createAccount because ecsaKey null")
|
||||||
return await this.wolk.createAccount(wolkName)
|
return await this.wolk.createAccount(wolkName)
|
||||||
.then( hash => {
|
.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 => {
|
.catch( err => {
|
||||||
throw new Error("Error Creating Account: " + err);
|
throw new Error("Error Creating Account: " + err);
|
||||||
})
|
})
|
||||||
})
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user