chore: fix some comments (#7215)

Signed-off-by: cangqiaoyuzhuo <850072022@qq.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
pull/7228/head
cangqiaoyuzhuo 5 months ago committed by GitHub
parent c52975b275
commit 90d2db9736
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      evm/src/main/java/org/hyperledger/besu/evm/code/CodeInvalid.java
  2. 2
      nat/src/main/java/org/hyperledger/besu/nat/upnp/UpnpNatManager.java

@ -25,7 +25,7 @@ import com.google.common.base.Suppliers;
import org.apache.tuweni.bytes.Bytes; 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. * invalid code. Note that EXTCODE operations can still access invalid code.
*/ */
public class CodeInvalid implements Code { public class CodeInvalid implements Code {

@ -466,7 +466,7 @@ public class UpnpNatManager extends AbstractNatManager {
futures.add(future); 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 // complete
return CompletableFuture.allOf(futures.toArray(new CompletableFuture<?>[0])); return CompletableFuture.allOf(futures.toArray(new CompletableFuture<?>[0]));
} }

Loading…
Cancel
Save