Skip to content

Commit

Permalink
Update EXTCALL creation detection
Browse files Browse the repository at this point in the history
Update the EXTCALL account creation detection to match legacy call
detection.

Signed-off-by: Danno Ferrin <[email protected]>
  • Loading branch information
shemnon committed Dec 16, 2024
1 parent 929945a commit 83179ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public OperationResult execute(final MessageFrame frame, final EVM evm) {
}
}

boolean accountCreation = contract == null && !zeroValue;
boolean accountCreation = (contract == null || contract.isEmpty()) && !zeroValue;
long cost =
clampedAdd(
clampedAdd(
Expand Down

0 comments on commit 83179ce

Please sign in to comment.