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 replacement transaction hash in PoolError #6898

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Feb 29, 2024

If we use the existing transaction hash, it's no longer possible to remove the replacement transaction's entry in transactions_by_peers. By using the replacement transaction's hash, we should now have a proper map between pool imports, and the transactions_by_peers map

@Rjected Rjected added C-bug An unexpected or incorrect behavior A-tx-pool Related to the transaction mempool labels Feb 29, 2024
@Rjected Rjected requested a review from mattsse as a code owner February 29, 2024 21:49
@Rjected Rjected added this pull request to the merge queue Feb 29, 2024
Merged via the queue into main with commit 2df0d91 Feb 29, 2024
29 checks passed
@Rjected Rjected deleted the dan/use-regular-hash-replacement-underpriced branch February 29, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tx-pool Related to the transaction mempool C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants