Skip to content

Commit

Permalink
fix: Update waitForDataChannel method call with hash parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ctoth committed Dec 27, 2024
1 parent 86787d1 commit e89df4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileTransferManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ export default class FileTransferManager {
);

// Wait for the data channel to open
await this.waitForDataChannel();
await this.waitForDataChannel(hash);
console.log(
"[FileTransferManager] Data channel ready for incoming transfer"
);
Expand Down

0 comments on commit e89df4d

Please sign in to comment.