We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471f4a4 commit e73b8a2Copy full SHA for e73b8a2
lightning/src/routing/router.rs
@@ -1315,8 +1315,8 @@ where L::Target: Logger {
1315
ordered_hops.last_mut().unwrap().0.fee_msat = value_contribution_msat;
1316
ordered_hops.last_mut().unwrap().0.hop_use_fee_msat = 0;
1317
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);
+ log_trace!(logger, "Found a path back to us from the target with {} hops contributing up to {} msat: \n {:#?}",
+ ordered_hops.len(), value_contribution_msat, ordered_hops.iter().map(|h| &(h.0)).collect::<Vec<&PathBuildingHop>>());
1320
1321
let mut payment_path = PaymentPath {hops: ordered_hops};
1322
0 commit comments