We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89749ed + 2ee554a commit 1f1a8ddCopy full SHA for 1f1a8dd
lightning/src/ln/channelmanager.rs
@@ -4725,8 +4725,10 @@ where
4725
if !chan.context.is_outbound() { return NotifyOption::SkipPersistNoEvents; }
4726
// If the feerate has decreased by less than half, don't bother
4727
if new_feerate <= chan.context.get_feerate_sat_per_1000_weight() && new_feerate * 2 > chan.context.get_feerate_sat_per_1000_weight() {
4728
- log_trace!(self.logger, "Channel {} does not qualify for a feerate change from {} to {}.",
+ if new_feerate != chan.context.get_feerate_sat_per_1000_weight() {
4729
+ log_trace!(self.logger, "Channel {} does not qualify for a feerate change from {} to {}.",
4730
chan_id, chan.context.get_feerate_sat_per_1000_weight(), new_feerate);
4731
+ }
4732
return NotifyOption::SkipPersistNoEvents;
4733
}
4734
if !chan.context.is_live() {
0 commit comments