diff --git a/src/dhtOnlineBase.ts b/src/dhtOnlineBase.ts index 3343ec0..a222ef7 100644 --- a/src/dhtOnlineBase.ts +++ b/src/dhtOnlineBase.ts @@ -45,7 +45,7 @@ export default class DHTOnlineBase extends EventEmitter { return this.graph.node.get(this._maybeHexify(id)); } - protected setData(data: any) { + public setData(data: any) { this.data = data; this._setPeer(this.id, data);