diff --git a/dist/index.js b/dist/index.js index 6e04849..dc832da 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27,7 +27,7 @@ class DHTCache extends events_1.default { super(); if (!id) throw new TypeError("Must provide id for self"); - this.id = id; + this.id = b4a_1.default.from(id); this.bootstrapped = false; this.graph = new jsnetworkx_1.DiGraph(); this.connectedTo = new Set();