Skip to content

Commit 1f1a8dd

Browse files
Merge pull request #2651 from G8XSU/rm-same-feerate-log
Remove log for not changing feerate when it was equal
2 parents 89749ed + 2ee554a commit 1f1a8dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/ln/channelmanager.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -4725,8 +4725,10 @@ where
47254725
if !chan.context.is_outbound() { return NotifyOption::SkipPersistNoEvents; }
47264726
// If the feerate has decreased by less than half, don't bother
47274727
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 {}.",
47294730
chan_id, chan.context.get_feerate_sat_per_1000_weight(), new_feerate);
4731+
}
47304732
return NotifyOption::SkipPersistNoEvents;
47314733
}
47324734
if !chan.context.is_live() {

0 commit comments

Comments
 (0)