Skip to content

Commit

Permalink
remove console logs from stream
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Sep 10, 2024
1 parent e48d743 commit cab8516
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/network/src/stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import { pipe } from "it-pipe";

export async function uint8ArrayToStream(stream: Stream, input: Uint8Array) {
await pipe(input, (source) => lp.encode([source]), stream.sink);
console.log("uint8ArrayToStream", input);
}

export async function streamToUint8Array(stream: Stream) {
Expand All @@ -38,7 +37,6 @@ export async function streamToUint8Array(stream: Stream) {
for await (const msg of source) {
output.push(msg);
}
console.log("streamToUint8Array", output);
return output[0];
},
);
Expand Down

0 comments on commit cab8516

Please sign in to comment.