Skip to content

Commit

Permalink
Update EXTCALL creation detection (#8038)
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 authored Jan 16, 2025
1 parent 5834afd commit 479bec0
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 479bec0

Please sign in to comment.