chore: fix some comments

Signed-off-by: renshuncui <renshun@111.com>
This commit is contained in:
renshuncui 2024-06-21 20:41:56 +08:00
parent d2a0751454
commit 4118ce1a3c
4 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ TOOLS_CORE := \
ncli_testnet \
$(TOOLS_CORE_CUSTOMCOMPILE)
# This TOOLS/TOOLS_CORE decomposition is a workaroud so nimbus_beacon_node can
# This TOOLS/TOOLS_CORE decomposition is a workaround so nimbus_beacon_node can
# build on its own, and if/when that becomes a non-issue, it can be recombined
# to a single TOOLS list.
TOOLS := $(TOOLS_CORE) nimbus_beacon_node

View File

@ -374,7 +374,7 @@ proc publishAttestationsAndAggregates(service: AttestationServiceRef,
return
let aggregateTime =
# chronos.Duration substraction could not return negative value, in such
# chronos.Duration subtraction could not return negative value, in such
# case it will return `ZeroDuration`.
vc.beaconClock.durationToNextSlot() - OneThirdDuration
if aggregateTime != ZeroDuration:

View File

@ -167,7 +167,7 @@ proc nfuzz_voluntary_exit(input: openArray[byte], xoutput: ptr byte,
# Note: Could also accept raw input pointer and access list_size + seed here.
# However, list_size needs to be known also outside this proc to allocate xoutput.
# TODO: rework to copy immediatly in an uint8 openArray, considering we have to
# TODO: rework to copy immediately in an uint8 openArray, considering we have to
# go over the list anyhow?
func nfuzz_shuffle(input_seed: ptr byte, xoutput: var openArray[uint64]): bool
{.exportc, raises: [].} =

View File

@ -12,7 +12,7 @@ if ! command javac > /dev/null || ! javac -version > /dev/null; then
# Instead, macOS ships with a stub executable that displays a message that
# Java is not installed (javac -version exits with an error code 1).
# If the user is running under these default settings, but a homebrew
# installation is disovered, we are happy to use it just in this script:
# installation is discovered, we are happy to use it just in this script:
if [[ -d /opt/homebrew/opt/openjdk/bin ]]; then
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
fi