rpc: identify node/wallet in log
This commit is contained in:
parent
d9044960ad
commit
da2084f503
@ -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;
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user