Skip to content

Commit e73b8a2

Browse files
committed
Remove Features<NodeContext> from hop print-out
1 parent 471f4a4 commit e73b8a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,8 +1315,8 @@ where L::Target: Logger {
13151315
ordered_hops.last_mut().unwrap().0.fee_msat = value_contribution_msat;
13161316
ordered_hops.last_mut().unwrap().0.hop_use_fee_msat = 0;
13171317

1318-
log_trace!(logger, "Found a path back to us from the target with {} hops contributing up to {} msat: \n{:?}",
1319-
ordered_hops.len(), value_contribution_msat, ordered_hops);
1318+
log_trace!(logger, "Found a path back to us from the target with {} hops contributing up to {} msat: \n {:#?}",
1319+
ordered_hops.len(), value_contribution_msat, ordered_hops.iter().map(|h| &(h.0)).collect::<Vec<&PathBuildingHop>>());
13201320

13211321
let mut payment_path = PaymentPath {hops: ordered_hops};
13221322

0 commit comments

Comments
 (0)