*Make setData public
This commit is contained in:
parent
a70b3154e0
commit
c534be442c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue