*Ensure data is a buffer
This commit is contained in:
parent
01a637a767
commit
34d55db3b1
|
@ -137,7 +137,7 @@ export default class DHTFlood extends EventEmitter {
|
|||
originId: id,
|
||||
messageNumber,
|
||||
ttl,
|
||||
data,
|
||||
data: b4a.from(data),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue