mirror of https://github.com/waku-org/js-waku.git
rename optimistically to preemptively (#1536)
This commit is contained in:
parent
2cf4a58f62
commit
6d81d6ab0c
|
@ -62,7 +62,7 @@ export class StreamManager {
|
|||
private handlePeerUpdateStreamPool = (evt: CustomEvent<PeerUpdate>): void => {
|
||||
const peer = evt.detail.peer;
|
||||
if (peer.protocols.includes(this.multicodec)) {
|
||||
this.log(`Optimistically opening a stream to ${peer.id.toString()}`);
|
||||
this.log(`Preemptively opening a stream to ${peer.id.toString()}`);
|
||||
this.prepareNewStream(peer);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue