Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use local variable in prepareTx #929

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

lucas-barros
Copy link
Contributor

@lucas-barros lucas-barros commented Mar 5, 2024

Fixes LW-9943 and LW-9936
Use local variable inside prepareTx instead of the one inside closure.

@lucas-barros lucas-barros marked this pull request as ready for review March 5, 2024 15:02
Copy link
Contributor

@renanvalentin renanvalentin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@mkazlauskas mkazlauskas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Ideally this (any many other) function would be hoisted to outside scope to avoid name clashes, but at this point it's probably safer not to touch it when we can avoid it 😅

@lucas-barros lucas-barros merged commit 501e501 into main Mar 5, 2024
1 check passed
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.

None yet

4 participants