Skip to content

Commit

Permalink
Fix incorrect logging during RBF or rebroadcast
Browse files Browse the repository at this point in the history
We were incorrectly logging RBF'd transactions as not RBF'd and vice
versa.
  • Loading branch information
morehouse committed Dec 12, 2024
1 parent ddeaab6 commit 2620477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/chain/onchaintx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ impl<ChannelSigner: EcdsaChannelSigner> OnchainTxHandler<ChannelSigner> {
.map(|(_, new_feerate, claim)| {
let mut bumped_feerate = false;
if let Some(mut_request) = self.pending_claim_requests.get_mut(&claim_id) {
bumped_feerate = request.previous_feerate() > new_feerate;
bumped_feerate = new_feerate > request.previous_feerate();
mut_request.set_feerate(new_feerate);
}
match claim {
Expand Down

0 comments on commit 2620477

Please sign in to comment.