diff --git a/node/log_entry_sync/src/sync_manager/data_cache.rs b/node/log_entry_sync/src/sync_manager/data_cache.rs index 00397d65..d71fa228 100644 --- a/node/log_entry_sync/src/sync_manager/data_cache.rs +++ b/node/log_entry_sync/src/sync_manager/data_cache.rs @@ -50,7 +50,7 @@ impl DataCache { /// Remove timeout data entries according to TTL. pub fn garbage_collect(&mut self, latest_tx_seq: u64) { - // We won't keep too many data, so it's okay to just iterate here. + // We won't keep too much data, so it's okay to just iterate here. self.root_to_data.retain(|_, cached| { cached.last_seen_tx_seq + self.config.tx_seq_ttl as u64 >= latest_tx_seq }) diff --git a/node/log_entry_sync/src/sync_manager/log_entry_fetcher.rs b/node/log_entry_sync/src/sync_manager/log_entry_fetcher.rs index 8384c564..4e624aae 100644 --- a/node/log_entry_sync/src/sync_manager/log_entry_fetcher.rs +++ b/node/log_entry_sync/src/sync_manager/log_entry_fetcher.rs @@ -673,7 +673,7 @@ async fn check_watch_process( } } else { warn!( - "get block hash for block {} from RPC, assume there is no org", + "get block hash for block {} from RPC, assume there is no reorg", *progress - 1 ); let hash = loop { diff --git a/node/network/src/rpc/codec/ssz_snappy.rs b/node/network/src/rpc/codec/ssz_snappy.rs index 2e0459d9..256ccddd 100644 --- a/node/network/src/rpc/codec/ssz_snappy.rs +++ b/node/network/src/rpc/codec/ssz_snappy.rs @@ -66,7 +66,7 @@ impl Encoder for SSZSnappyInboundCodec { } // Inserts the length prefix of the uncompressed bytes into dst - // encoded as a unsigned varint + // encoded as an unsigned varint self.inner .encode(bytes.len(), dst) .map_err(RPCError::from)?;