Fix touched_addresses removal (#1473)

This commit is contained in:
Robin Salen 2024-01-17 08:28:53 -05:00 committed by GitHub
parent 10fc96608c
commit 39a2d62d6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,8 +76,7 @@ remove_touched_addresses_found:
// stack: len-1, i, retdest
MLOAD_GENERAL // Load the last address in the list.
// stack: last_addr, i, retdest
SWAP1
MLOAD_GENERAL // Store the last address at the position of the removed address.
MSTORE_GENERAL // Store the last address at the position of the removed address.
JUMP