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

miner: fix receipt deep copy in worker #23835

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

PlasmaPower
Copy link
Contributor

The comment above this loop says it deep copies receipts, but it both didn't copy logs and set fields before the copy. In particular setting the original log's BlockHash was triggering Go's race detector for us.

Copy link
Member

@rjl493456442 rjl493456442 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for catching it.

@holiman holiman added this to the 1.10.12 milestone Nov 1, 2021
@holiman holiman merged commit c113520 into ethereum:master Nov 1, 2021
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Nov 1, 2021
yongjun925 pushed a commit to DODOEX/go-ethereum that referenced this pull request Dec 3, 2022
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.

3 participants