diff --git a/cairo/src/instructions/system_operations.cairo b/cairo/src/instructions/system_operations.cairo index 8a24d53..2f79b20 100644 --- a/cairo/src/instructions/system_operations.cairo +++ b/cairo/src/instructions/system_operations.cairo @@ -813,9 +813,9 @@ namespace SystemOperations { // If the account was created in the same transaction and recipient is self, the native token is burnt tempvar is_recipient_not_self = is_not_zero(recipient - evm.message.address); - if (self_account.created != FALSE) { - tempvar recipient = is_recipient_not_self * recipient; + tempvar recipient = (1 - is_recipient_not_self) * Constants.BURN_ADDRESS + + is_recipient_not_self * recipient; } else { tempvar recipient = recipient; }