fix: missing p2p object on S5Config
This commit is contained in:
parent
10e6020f52
commit
b5e491b01a
|
@ -70,6 +70,7 @@ export class S5Node {
|
||||||
logger: this._nodeConfig.logger ?? DEFAULT_LOGGER,
|
logger: this._nodeConfig.logger ?? DEFAULT_LOGGER,
|
||||||
cacheDb: this._nodeConfig.db.sublevel("s5-object-cache", {}),
|
cacheDb: this._nodeConfig.db.sublevel("s5-object-cache", {}),
|
||||||
services: {} as any,
|
services: {} as any,
|
||||||
|
p2p: this._nodeConfig.p2p,
|
||||||
};
|
};
|
||||||
|
|
||||||
const p2p = new P2PService(this);
|
const p2p = new P2PService(this);
|
||||||
|
|
Loading…
Reference in New Issue