Skip to content

core: fix tx dedup return error count#20085

Merged
karalabe merged 1 commit intoethereum:masterfrom
karalabe:txpool-api-fix
Sep 18, 2019
Merged

core: fix tx dedup return error count#20085
karalabe merged 1 commit intoethereum:masterfrom
karalabe:txpool-api-fix

Conversation

@karalabe
Copy link
Copy Markdown
Member

@karalabe karalabe commented Sep 18, 2019

Fixes a regression introduced in #20081.

The above mentioned PR moved transaction deduplication out of the global pool lock. Unfortunately, I didn't take care with the returned errors, losing a return value for every known transaction. This PR fixes the returned error slice to have a valid value for known transactions too.

@karalabe karalabe added this to the 1.9.4 milestone Sep 18, 2019
@karalabe karalabe requested a review from holiman September 18, 2019 07:54
@karalabe karalabe merged commit 7b32d2a into ethereum:master Sep 18, 2019
@gzliudan gzliudan mentioned this pull request May 11, 2024
20 tasks
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request May 13, 2024
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