Skip to content
Snippets Groups Projects
Commit b624437e authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] daemon commands were broken

parent 6e58cf5a
No related branches found
No related tags found
No related merge requests found
...@@ -311,10 +311,11 @@ export class Server extends stream.Duplex implements HookableServer { ...@@ -311,10 +311,11 @@ export class Server extends stream.Duplex implements HookableServer {
return this.BlockchainService.isMember() return this.BlockchainService.isMember()
} }
checkConfig() { checkConfig(): Promise<any> {
if (!this.conf.pair) { if (!this.conf.pair) {
throw new Error('No keypair was given.'); throw new Error('No keypair was given.');
} }
return Promise.resolve()
} }
async resetHome() { async resetHome() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment