Skip to content

Commit 796705c

Browse files
authored
chore: fix some typos in comment
fix some typos in comment Pull-Request: #5348.
1 parent 8c291fe commit 796705c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

protocols/gossipsub/src/behaviour/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4546,7 +4546,7 @@ fn test_limit_number_of_message_ids_inside_ihave() {
45464546
//emit gossip
45474547
gs.emit_gossip();
45484548

4549-
// both peers should have gotten 100 random ihave messages, to asser the randomness, we
4549+
// both peers should have gotten 100 random ihave messages, to assert the randomness, we
45504550
// assert that both have not gotten the same set of messages, but have an intersection
45514551
// (which is the case with very high probability, the probabiltity of failure is < 10^-58).
45524552

transports/websocket/src/framed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ fn parse_ws_dial_addr<T>(addr: Multiaddr) -> Result<WsAddress, Error<T>> {
511511
Some(Protocol::Ws(path)) => break (false, path.into_owned()),
512512
Some(Protocol::Wss(path)) => {
513513
if dns_name.is_none() {
514-
tracing::debug!(addrress=%addr, "Missing DNS name in WSS address");
514+
tracing::debug!(address=%addr, "Missing DNS name in WSS address");
515515
return Err(Error::InvalidMultiaddr(addr));
516516
}
517517
break (true, path.into_owned());

0 commit comments

Comments
 (0)