mirror of https://github.com/waku-org/js-waku.git
Log queried store peer info
This commit is contained in:
parent
899e0c89e7
commit
62b30b3f33
|
@ -166,6 +166,8 @@ export class WakuStore {
|
|||
const { stream } = await connection.newStream(StoreCodec);
|
||||
const queryOpts = Object.assign(opts, { cursor });
|
||||
const historyRpcQuery = HistoryRPC.createQuery(queryOpts);
|
||||
dbg('Querying store peer', connection.remoteAddr.toString());
|
||||
|
||||
const res = await pipe(
|
||||
[historyRpcQuery.encode()],
|
||||
lp.encode(),
|
||||
|
|
Loading…
Reference in New Issue