File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4725,8 +4725,10 @@ where
4725
4725
if !chan.context.is_outbound() { return NotifyOption::SkipPersistNoEvents; }
4726
4726
// If the feerate has decreased by less than half, don't bother
4727
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 {}.",
4728
+ 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 {}.",
4729
4730
chan_id, chan.context.get_feerate_sat_per_1000_weight(), new_feerate);
4731
+ }
4730
4732
return NotifyOption::SkipPersistNoEvents;
4731
4733
}
4732
4734
if !chan.context.is_live() {
You can’t perform that action at this time.
0 commit comments