Compare commits
No commits in common. "dccdbbd13dbcaab9aed664f8b17f3194076801a6" and "5eb86d6acd1a9d6ce877fc2d30ca99eb93b89c89" have entirely different histories.
dccdbbd13d
...
5eb86d6acd
|
@ -27,7 +27,7 @@ class DHTCache extends events_1.default {
|
|||
super();
|
||||
if (!id)
|
||||
throw new TypeError("Must provide id for self");
|
||||
this.id = b4a_1.default.from(id);
|
||||
this.id = id;
|
||||
this.bootstrapped = false;
|
||||
this.graph = new jsnetworkx_1.DiGraph();
|
||||
this.connectedTo = new Set();
|
||||
|
|
|
@ -42,7 +42,7 @@ export default class DHTCache extends EventEmitter {
|
|||
super();
|
||||
if (!id) throw new TypeError("Must provide id for self");
|
||||
|
||||
this.id = b4a.from(id) as Buffer;
|
||||
this.id = id;
|
||||
this.bootstrapped = false;
|
||||
this.graph = new DiGraph();
|
||||
this.connectedTo = new Set();
|
||||
|
|
Loading…
Reference in New Issue