From 90d2db97367b02768401c4fa44dd9dbb32996286 Mon Sep 17 00:00:00 2001 From: cangqiaoyuzhuo <850072022@qq.com> Date: Thu, 13 Jun 2024 13:06:08 +0900 Subject: [PATCH] chore: fix some comments (#7215) Signed-off-by: cangqiaoyuzhuo <850072022@qq.com> Co-authored-by: Sally MacFarlane --- .../main/java/org/hyperledger/besu/evm/code/CodeInvalid.java | 2 +- .../main/java/org/hyperledger/besu/nat/upnp/UpnpNatManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/evm/src/main/java/org/hyperledger/besu/evm/code/CodeInvalid.java b/evm/src/main/java/org/hyperledger/besu/evm/code/CodeInvalid.java index 688be5a3cf..be71c296ae 100644 --- a/evm/src/main/java/org/hyperledger/besu/evm/code/CodeInvalid.java +++ b/evm/src/main/java/org/hyperledger/besu/evm/code/CodeInvalid.java @@ -25,7 +25,7 @@ import com.google.common.base.Suppliers; import org.apache.tuweni.bytes.Bytes; /** - * For code versions where code can be deemed "invalid" this represents a cachable instance of + * For code versions where code can be deemed "invalid" this represents a cacheable instance of * invalid code. Note that EXTCODE operations can still access invalid code. */ public class CodeInvalid implements Code { diff --git a/nat/src/main/java/org/hyperledger/besu/nat/upnp/UpnpNatManager.java b/nat/src/main/java/org/hyperledger/besu/nat/upnp/UpnpNatManager.java index 22cc1ce13f..a7386d7f78 100644 --- a/nat/src/main/java/org/hyperledger/besu/nat/upnp/UpnpNatManager.java +++ b/nat/src/main/java/org/hyperledger/besu/nat/upnp/UpnpNatManager.java @@ -466,7 +466,7 @@ public class UpnpNatManager extends AbstractNatManager { futures.add(future); } - // return a future that completes succeessfully only when each of our port delete requests + // return a future that completes successfully only when each of our port delete requests // complete return CompletableFuture.allOf(futures.toArray(new CompletableFuture[0])); }