From a1b72f1f83e3858ad0f6336fa687d5d39412c7d4 Mon Sep 17 00:00:00 2001 From: iwantanode <87604944+tudorpintea999@users.noreply.github.com> Date: Mon, 13 Nov 2023 04:49:37 +0200 Subject: [PATCH] fix: typos in the docs (#527) l --- consensus-engine/README.md | 2 +- mixnet/node/src/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus-engine/README.md b/consensus-engine/README.md index e5dc064d..01a7eafa 100644 --- a/consensus-engine/README.md +++ b/consensus-engine/README.md @@ -37,7 +37,7 @@ If the fuzz testing finds any failure case, it will generate a regression file: # automatically read and these particular cases re-run before any # novel cases are generated. # -# It is recommended to check this file in to source control so that +# It is recommended to check this file into source control so that # everyone who runs the test benefits from these saved cases. cc c2157c559fe10276985a8f2284b0c294c2d6a5a293cce45f2e4ad2a3b4a23233 # shrinks to (initial_state, transitions) = (RefState { chain: {0: {[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: Block { id: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], view: 0, parent_qc: Standard(StandardQc { view: -1, id: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }) }}}, blocks: {[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]: Block { id: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], view: 0, parent_qc: Standard(StandardQc { view: -1, id: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] }) }}, highest_voted_view: 0 }, [ReceiveBlock([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])]) ``` diff --git a/mixnet/node/src/config.rs b/mixnet/node/src/config.rs index 50b1061f..ae33f603 100644 --- a/mixnet/node/src/config.rs +++ b/mixnet/node/src/config.rs @@ -11,7 +11,7 @@ use sphinx_packet::crypto::{PRIVATE_KEY_SIZE, PUBLIC_KEY_SIZE}; pub struct MixnetNodeConfig { /// A listen address for receiving Sphinx packets pub listen_address: SocketAddr, - /// An listen address fro communicating with mixnet clients + /// An listen address for communicating with mixnet clients pub client_listen_address: SocketAddr, /// A key for decrypting Sphinx packets pub private_key: [u8; PRIVATE_KEY_SIZE],