Update EXTCALL creation detection (#8038)

Update the EXTCALL account creation detection to match legacy call
detection.

Signed-off-by: Danno Ferrin <danno@numisight.com>
This commit is contained in:
Danno Ferrin
2025-01-15 22:47:50 -07:00
committed by GitHub
parent 5834afd44e
commit 479bec0310

View File

@@ -136,7 +136,7 @@ public abstract class AbstractExtCallOperation extends AbstractCallOperation {
}
}
boolean accountCreation = contract == null && !zeroValue;
boolean accountCreation = (contract == null || contract.isEmpty()) && !zeroValue;
long cost =
clampedAdd(
clampedAdd(