From 8f2bd39f2304628ad27b42c3964b4a614292b56a Mon Sep 17 00:00:00 2001 From: clonefetch <166312854+clonefetch@users.noreply.github.com> Date: Mon, 9 Dec 2024 21:45:26 +0800 Subject: [PATCH] chore: fix some typos in comment (#3201) Signed-off-by: clonefetch --- apps/chat2bridge/chat2bridge.nim | 2 +- apps/liteprotocoltester/tester_config.nim | 2 +- tests/wakunode2/test_validators.nim | 2 +- waku/factory/external_config.nim | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/chat2bridge/chat2bridge.nim b/apps/chat2bridge/chat2bridge.nim index 24533821d..70d95934c 100644 --- a/apps/chat2bridge/chat2bridge.nim +++ b/apps/chat2bridge/chat2bridge.nim @@ -59,7 +59,7 @@ type MbMessageHandler = proc(jsonNode: JsonNode) {.async.} ################### -# Helper funtions # +# Helper functions # ###################S proc containsOrAdd(sequence: var seq[Hash], hash: Hash): bool = diff --git a/apps/liteprotocoltester/tester_config.nim b/apps/liteprotocoltester/tester_config.nim index 3e1de499d..115686be3 100644 --- a/apps/liteprotocoltester/tester_config.nim +++ b/apps/liteprotocoltester/tester_config.nim @@ -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 diff --git a/tests/wakunode2/test_validators.nim b/tests/wakunode2/test_validators.nim index 03bc9c99d..23a3e5d6f 100644 --- a/tests/wakunode2/test_validators.nim +++ b/tests/wakunode2/test_validators.nim @@ -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 diff --git a/waku/factory/external_config.nim b/waku/factory/external_config.nim index 01db15fcb..4b08086ba 100644 --- a/waku/factory/external_config.nim +++ b/waku/factory/external_config.nim @@ -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 @@ -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