fix(doc): tiny typo (#7388)

Signed-off-by: Francois Bojarski <francois.bojarski@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
pull/7418/head
François Bojarski 3 months ago committed by GitHub
parent 53f8ff9389
commit b5552e5137
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      evm/src/main/java/org/hyperledger/besu/evm/operation/AbstractCallOperation.java

@ -197,7 +197,7 @@ public abstract class AbstractCallOperation extends AbstractOperation {
if (value(frame).compareTo(balance) > 0 || frame.getDepth() >= 1024) {
frame.expandMemory(inputDataOffset(frame), inputDataLength(frame));
frame.expandMemory(outputDataOffset(frame), outputDataLength(frame));
// For the following, we either increment the gas or return zero so weo don't get double
// For the following, we either increment the gas or return zero, so we don't get double
// charged. If we return zero then the traces don't have the right per-opcode cost.
frame.incrementRemainingGas(gasAvailableForChildCall(frame) + cost);
frame.popStackItems(getStackItemsConsumed());

Loading…
Cancel
Save