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 aa3c727 commit 0d4a06fCopy full SHA for 0d4a06f
lightning/src/routing/router.rs
@@ -2978,7 +2978,7 @@ where L::Target: Logger {
2978
if let Some((first_channels, _)) = first_hop_targets.get(&target) {
2979
for details in first_channels {
2980
if let CandidateRouteHop::FirstHop(FirstHopCandidate { details: last_hop_details, .. })
2981
- = ordered_hops.last().unwrap().0.candidate
+ = candidate
2982
{
2983
if details.get_outbound_payment_scid() == last_hop_details.get_outbound_payment_scid() {
2984
ordered_hops.last_mut().unwrap().1 = details.counterparty.features.to_context();
0 commit comments