Skip to content

fix: Add missing 'let' declaration in createEOF1Code function#1494

Open
reallesee wants to merge 1 commit intoethereum:developfrom
reallesee:develop
Open

fix: Add missing 'let' declaration in createEOF1Code function#1494
reallesee wants to merge 1 commit intoethereum:developfrom
reallesee:develop

Conversation

@reallesee
Copy link
Copy Markdown

Fixed a potential scope issue in EOF1-generator.js by adding a proper 'let' declaration for the 'eof1' variable in the createEOF1Code function. This prevents the variable from becoming an implicit global, which could cause unexpected behavior when the function is called multiple times. The change improves code reliability and follows JavaScript best practices without altering functionality

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