mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-28 15:21:33 +00:00
Fix particle encoding (#974)
This commit is contained in:
@ -129,7 +129,7 @@ export class FluenceConnection {
|
||||
const conn = await this.node.dialProtocol(this.address, PROTOCOL_NAME) as {stream: Stream; protocol: string};
|
||||
|
||||
pipe(
|
||||
[particleStr],
|
||||
[Buffer.from(particleStr, 'utf8')],
|
||||
// at first, make a message varint
|
||||
encode(),
|
||||
conn.stream.sink,
|
||||
|
Reference in New Issue
Block a user