Skip to content

Commit

Permalink
fix node crash on stream, node internals
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ocean committed Aug 1, 2024
1 parent 40b86b8 commit 763dcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/P2P/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ export class OceanP2P extends EventEmitter {
if (stream) {
response.stream = stream
try {
pipe(
await pipe(
// Source data
[uint8ArrayFromString(message)],
// Write to the stream, and pass its output to the next function
Expand Down

0 comments on commit 763dcec

Please sign in to comment.