Skip to content

Commit 23f1ec8

Browse files
Merge pull request #1309 from TheBlueMatt/2022-02-first-hop-log
Specify whether we have first-hop hints when routing
2 parents e43cfe1 + 637e0d3 commit 23f1ec8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/routing/router.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,8 +719,9 @@ where L::Target: Logger {
719719
node_info.features.supports_basic_mpp()
720720
} else { false }
721721
} else { false };
722-
log_trace!(logger, "Searching for a route from payer {} to payee {} {} MPP", our_node_pubkey,
723-
payment_params.payee_pubkey, if allow_mpp { "with" } else { "without" });
722+
log_trace!(logger, "Searching for a route from payer {} to payee {} {} MPP and {} first hops {}overriding the network graph", our_node_pubkey,
723+
payment_params.payee_pubkey, if allow_mpp { "with" } else { "without" },
724+
first_hops.map(|hops| hops.len()).unwrap_or(0), if first_hops.is_some() { "" } else { "not " });
724725

725726
// Step (1).
726727
// Prepare the data we'll use for payee-to-payer search by

0 commit comments

Comments
 (0)