Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Only increment the added transaction counter if we actually added the transaction #1543

Merged
merged 3 commits into from
Jun 10, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

The added transaction counters were far too high because it was counting every transaction we tried to add to the pool, including ones that were already present or that had the same sender and nonce as another but didn't increase the gas limit.

@ajsutton ajsutton requested a review from rojotek June 10, 2019 05:09
@rojotek
Copy link
Member

rojotek commented Jun 10, 2019

Approved — a test would probably be a good idea.

@ajsutton ajsutton merged commit 015350d into PegaSysEng:master Jun 10, 2019
@ajsutton ajsutton deleted the added-transaction-counter-fix branch June 10, 2019 06:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants