fix: missing p2p object on S5Config

This commit is contained in:
Derrick Hammer 2023-08-31 06:18:59 -04:00
parent 10e6020f52
commit b5e491b01a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -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);