Skip to content

Commit 7d6eb28

Browse files
committed
message inconsistency fixed
1 parent 3c52b85 commit 7d6eb28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libp2p/security/security_multistream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async def select_transport(
119119
protocol, _ = await self.multiselect.negotiate(communicator)
120120
if protocol is None:
121121
raise MultiselectError(
122-
"fail to negotiate a security protocol: no protocl selected"
122+
"Failed to negotiate a security protocol: no protocol selected"
123123
)
124124
# Return transport from protocol
125125
return self.transports[protocol]

libp2p/stream_muxer/muxer_multistream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async def select_transport(self, conn: IRawConnection) -> TMuxerClass:
8686
protocol, _ = await self.multiselect.negotiate(communicator)
8787
if protocol is None:
8888
raise MultiselectError(
89-
"fail to negotiate a stream muxer protocol: no protocol selected"
89+
"Fail to negotiate a stream muxer protocol: no protocol selected"
9090
)
9191
return self.transports[protocol]
9292

0 commit comments

Comments
 (0)