Skip to content

Commit 2201d9e

Browse files
authored
update link
1 parent 4947578 commit 2201d9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libp2p/pubsub/pubsub.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,8 @@ async def write_msg(self, stream: INetStream, rpc_msg: rpc_pb2.RPC) -> bool:
785785
"""
786786
Write an RPC message to a stream with proper error handling.
787787
788-
Implements WriteMsg similar to go-libp2p-pubsub comm.go
789-
Ref: https://github.com/libp2p/go-libp2p-pubsub/blob/master/comm.go#L107
788+
Implements WriteMsg similar to go-msgio which is used in go-libp2p
789+
Ref: https://github.com/libp2p/go-msgio/blob/master/protoio/uvarint_writer.go#L56
790790
791791
792792
:param stream: stream to write the message to

0 commit comments

Comments
 (0)