From 902ef2ecad4ea3e17c9bafaddc656d8f9fe153d9 Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Mon, 8 Jan 2024 12:13:42 +0800 Subject: [PATCH] fix typos 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 116c7ea226b..e8db0bcbc5c 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 1c7da3fd2b6..e28b0a24ad9 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 @@ private boolean registerDisconnect( 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()); }