refactor: use node.services.p2p

This commit is contained in:
Derrick Hammer 2023-09-01 20:20:30 -04:00
parent d9af5bd015
commit 4e6f1b3ad3
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ export class P2PService extends EventEmitter {
this.nodeKeyPair = node.config.keyPair;
this.logger = node.logger;
node.config.services.p2p = this;
node.services.p2p = this;
}
private _hashQueryRoutingTable: Map<Multihash, Set<NodeId>> = new Map();