rpc: identify node/wallet in log

This commit is contained in:
Matthew Zipkin 2019-02-07 12:12:59 -08:00
parent d9044960ad
commit da2084f503
No known key found for this signature in database
GPG Key ID: E7E2984B6289C93A
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ class RPC extends RPCBase {
this.pool = node.pool;
this.fees = node.fees;
this.miner = node.miner;
this.logger = node.logger.context('rpc');
this.logger = node.logger.context('node-rpc');
this.locker = new Lock();
this.mining = false;

View File

@ -89,7 +89,7 @@ class RPC extends RPCBase {
this.wdb = node.wdb;
this.network = node.network;
this.logger = node.logger.context('rpc');
this.logger = node.logger.context('wallet-rpc');
this.client = node.client;
this.locker = new Lock();