-
Notifications
You must be signed in to change notification settings - Fork 412
Fix incorrect logging during RBF or rebroadcast #3482
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3482 +/- ##
==========================================
- Coverage 89.69% 89.69% -0.01%
==========================================
Files 130 130
Lines 107472 107614 +142
Branches 107472 107614 +142
==========================================
+ Hits 96396 96520 +124
- Misses 8674 8691 +17
- Partials 2402 2403 +1 ☔ View full report in Codecov by Sentry. |
lightning/src/chain/onchaintx.rs
Outdated
@@ -504,7 +504,7 @@ impl<ChannelSigner: EcdsaChannelSigner> OnchainTxHandler<ChannelSigner> { | |||
.map(|(_, new_feerate, claim)| { | |||
let mut bumped_feerate = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks so much! Can we use this opportunity to also rename bumped_feerate
to something like is_feerate_bumped
or did_bump_feerate
or feerate_was_bumped
or really anything that doesn't make it sound as though it's the actual numeric value of the new fee rate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM aside of the arik comment
a7f6a80
to
2620477
Compare
We were incorrectly logging RBF'd transactions as not RBF'd and vice versa.
2620477
to
94ad5be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
We were incorrectly logging RBF'd transactions as not RBF'd and vice versa.