http: identify node/wallet in log

This commit is contained in:
Matthew Zipkin 2018-09-04 17:03:41 +00:00
parent 39684df605
commit d9044960ad
No known key found for this signature in database
GPG Key ID: E7E2984B6289C93A
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class HTTP extends Server {
super(new HTTPOptions(options));
this.network = this.options.network;
this.logger = this.options.logger.context('http');
this.logger = this.options.logger.context('node-http');
this.node = this.options.node;
this.chain = this.node.chain;

View File

@ -42,7 +42,7 @@ class HTTP extends Server {
super(new HTTPOptions(options));
this.network = this.options.network;
this.logger = this.options.logger.context('http');
this.logger = this.options.logger.context('wallet-http');
this.wdb = this.options.node.wdb;
this.rpc = this.options.node.rpc;