diff --git a/src/index.ts b/src/index.ts index c2b5204..3961222 100644 --- a/src/index.ts +++ b/src/index.ts @@ -137,7 +137,7 @@ export default class DHTFlood extends EventEmitter { originId: id, messageNumber, ttl, - data, + data: b4a.from(data), }); } }