Skip to content

Commit

Permalink
chore: fix some typos in comment (#3201)
Browse files Browse the repository at this point in the history
Signed-off-by: clonefetch <c0217@outlook.com>
  • Loading branch information
clonefetch authored Dec 9, 2024
1 parent d464ca0 commit 8f2bd39
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/chat2bridge/chat2bridge.nim
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type
MbMessageHandler = proc(jsonNode: JsonNode) {.async.}

###################
# Helper funtions #
# Helper functions #
###################S

proc containsOrAdd(sequence: var seq[Hash], hash: Hash): bool =
Expand Down
2 changes: 1 addition & 1 deletion apps/liteprotocoltester/tester_config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type LiteProtocolTesterConf* = object

logFormat* {.
desc:
"Specifies what kind of logs should be written to stdout. Suported formats: TEXT, JSON",
"Specifies what kind of logs should be written to stdout. Supported formats: TEXT, JSON",
defaultValue: logging.LogFormat.TEXT,
name: "log-format"
.}: logging.LogFormat
Expand Down
2 changes: 1 addition & 1 deletion tests/wakunode2/test_validators.nim
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ suite "WakuNode2 - Validators":
# Since we have a full mesh with 5 nodes and each one publishes 25+25+25+25+25 msgs
# there are 625 messages being sent.
# 125 are received ok in the handler (first hop)
# 500 are are wrong so rejected (rejected not relayed)
# 500 are wrong so rejected (rejected not relayed)

var msgRejected = 0

Expand Down
4 changes: 2 additions & 2 deletions waku/factory/external_config.nim
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type WakuNodeConf* = object

logFormat* {.
desc:
"Specifies what kind of logs should be written to stdout. Suported formats: TEXT, JSON",
"Specifies what kind of logs should be written to stdout. Supported formats: TEXT, JSON",
defaultValue: logging.LogFormat.TEXT,
name: "log-format"
.}: logging.LogFormat
Expand Down Expand Up @@ -491,7 +491,7 @@ hence would have reachability issues.""",
reliabilityEnabled* {.
desc:
"""Adds an extra effort in the delivery/reception of messages by leveraging store-v3 requests.
with the drawback of consuming some more bandwitdh.""",
with the drawback of consuming some more bandwidth.""",
defaultValue: false,
name: "reliability"
.}: bool
Expand Down

0 comments on commit 8f2bd39

Please sign in to comment.