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