Skip to content

Conversation

@lisenokdonbassenok
Copy link

TouchCode previously contained a dead conditional that attempted to set DeleteUpdate when the code was empty. In practice this branch was never reachable because CodeUpdate is ORed into Flags before the check, and semantically DeleteUpdate is used across the codebase to mean “the key is absent” (account or storage), not “code is empty”. This change removes that unreachable assignment so that TouchCode only updates CodeUpdate and CodeHash, leaving deletion semantics exclusively to TouchAccount and TouchStorage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant