File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -451,9 +451,16 @@ fn filter_channels<L: Deref>(
451451 hash_map:: Entry :: Occupied ( mut entry) => {
452452 let current_max_capacity = entry. get ( ) . inbound_capacity_msat ;
453453 if channel. inbound_capacity_msat < current_max_capacity {
454+ log_trace ! ( logger,
455+ "Preferring counterparty {} channel {} ({} msats) over {} ({} msats) for invoice route hints" ,
456+ log_pubkey!( channel. counterparty. node_id) ,
457+ log_bytes!( entry. get( ) . channel_id) , current_max_capacity,
458+ log_bytes!( channel. channel_id) , channel. inbound_capacity_msat) ;
454459 continue ;
455460 }
456- log_trace ! ( logger, "Preferring channel {} ({} msats) over {} ({} msats) for invoice route hints" ,
461+ log_trace ! ( logger,
462+ "Preferring counterparty {} channel {} ({} msats) over {} ({} msats) for invoice route hints" ,
463+ log_pubkey!( channel. counterparty. node_id) ,
457464 log_bytes!( channel. channel_id) , channel. inbound_capacity_msat,
458465 log_bytes!( entry. get( ) . channel_id) , current_max_capacity) ;
459466 entry. insert ( channel) ;
You can’t perform that action at this time.
0 commit comments