chore: fix some typos in comment (#3201)

Signed-off-by: clonefetch <c0217@outlook.com>
This commit is contained in:
clonefetch 2024-12-09 21:45:26 +08:00 committed by GitHub
parent d464ca06e5
commit 8f2bd39f23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ type
MbMessageHandler = proc(jsonNode: JsonNode) {.async.} MbMessageHandler = proc(jsonNode: JsonNode) {.async.}
################### ###################
# Helper funtions # # Helper functions #
###################S ###################S
proc containsOrAdd(sequence: var seq[Hash], hash: Hash): bool = proc containsOrAdd(sequence: var seq[Hash], hash: Hash): bool =

View File

@ -49,7 +49,7 @@ type LiteProtocolTesterConf* = object
logFormat* {. logFormat* {.
desc: 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, defaultValue: logging.LogFormat.TEXT,
name: "log-format" name: "log-format"
.}: logging.LogFormat .}: logging.LogFormat

View File

@ -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 # 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. # there are 625 messages being sent.
# 125 are received ok in the handler (first hop) # 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 var msgRejected = 0

View File

@ -58,7 +58,7 @@ type WakuNodeConf* = object
logFormat* {. logFormat* {.
desc: 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, defaultValue: logging.LogFormat.TEXT,
name: "log-format" name: "log-format"
.}: logging.LogFormat .}: logging.LogFormat
@ -491,7 +491,7 @@ hence would have reachability issues.""",
reliabilityEnabled* {. reliabilityEnabled* {.
desc: desc:
"""Adds an extra effort in the delivery/reception of messages by leveraging store-v3 requests. """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, defaultValue: false,
name: "reliability" name: "reliability"
.}: bool .}: bool