diff --git a/dist/index.js b/dist/index.js index ea8f73b..7271480 100644 --- a/dist/index.js +++ b/dist/index.js @@ -76,7 +76,7 @@ export class SwarmClient extends Client { } async join(topic) { if (typeof topic === "string") { - topic = blake2b(topic); + topic = blake2b(topic, { dkLen: 32 }); } this._topics.add(topic); this.callModule("join", { id: this.id, topic });