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 mempool fees #3537

Merged
merged 3 commits into from
Aug 5, 2024
Merged

Fix mempool fees #3537

merged 3 commits into from
Aug 5, 2024

Conversation

roman-khimov
Copy link
Member

Fixed pretty much accidentally.

It's not used and not needed for removal.

Signed-off-by: Roman Khimov <[email protected]>
Metrics should be updated once per action, currently removeInternal is
used by Add and Remove, the first one updates them in the end anyway and
remove should do the same.

Signed-off-by: Roman Khimov <[email protected]>
Copy link

codecov bot commented Jul 30, 2024

Codecov Report

Attention: Patch coverage is 88.57143% with 4 lines in your changes missing coverage. Please review.

Project coverage is 86.05%. Comparing base (d8e3e57) to head (5d1d7b1).
Report is 4 commits behind head on master.

Files Patch % Lines
pkg/core/mempool/mem_pool.go 88.57% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3537      +/-   ##
==========================================
- Coverage   86.08%   86.05%   -0.04%     
==========================================
  Files         330      330              
  Lines       38678    38678              
==========================================
- Hits        33297    33284      -13     
- Misses       3840     3849       +9     
- Partials     1541     1545       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

The logic itself LGTM.

pkg/core/mempool/mem_pool.go Outdated Show resolved Hide resolved
pkg/core/mempool/mem_pool.go Show resolved Hide resolved
@AnnaShaleva AnnaShaleva merged commit c46dfee into master Aug 5, 2024
20 of 21 checks passed
@AnnaShaleva AnnaShaleva deleted the fix-mempool-fees branch August 5, 2024 12:59
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