*Make setData public

This commit is contained in:
Derrick Hammer 2022-11-16 10:48:09 -05:00
parent a70b3154e0
commit c534be442c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

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