From 694069a16c9a343df3acdc04e4d4056d04305035 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Tue, 9 Jan 2024 08:27:24 +0800 Subject: [PATCH] fix typos (#6368) Signed-off-by: vuittont60 <81072379+vuittont60@users.noreply.github.com> --- docs/trace_rpc_apis.md | 2 +- .../org/hyperledger/besu/ethereum/eth/manager/EthPeers.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/trace_rpc_apis.md b/docs/trace_rpc_apis.md index 116c7ea226..e8db0bcbc5 100644 --- a/docs/trace_rpc_apis.md +++ b/docs/trace_rpc_apis.md @@ -34,6 +34,6 @@ Besu reports only the actual cost of the precompiled contract call in the ### Out of Gas -Besu reports the operation that causes out fo gas exceptions, including +Besu reports the operation that causes out of gas exceptions, including calculated gas cost. The operation is not executed so no `ex` values are reported. diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeers.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeers.java index 1c7da3fd2b..e28b0a24ad 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeers.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthPeers.java @@ -197,7 +197,7 @@ public class EthPeers { peer.handleDisconnect(); abortPendingRequestsAssignedToDisconnectedPeers(); if (peer.getReputation().getScore() > USEFULL_PEER_SCORE_THRESHOLD) { - LOG.debug("Disonnected USEFULL peer {}", peer); + LOG.debug("Disconnected USEFULL peer {}", peer); } else { LOG.debug("Disconnected EthPeer {}", peer.getShortNodeId()); }