Skip to content

Commit 45bd5f2

Browse files
committed
fix first hop inputs
1 parent 59f2324 commit 45bd5f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2580,7 +2580,7 @@ where L::Target: Logger {
25802580
let maybe_announced_channel = if let CandidateRouteHop::PublicHop { .. } = hop.candidate {
25812581
// If we sourced the hop from the graph we're sure the target node is announced.
25822582
true
2583-
} else if let CandidateRouteHop::FirstHop { details } = hop.candidate {
2583+
} else if let CandidateRouteHop::FirstHop { details, .. } = hop.candidate {
25842584
// If this is a first hop we also know if it's announced.
25852585
details.is_public
25862586
} else {

0 commit comments

Comments
 (0)