Skip to content

Commit

Permalink
fix first hop inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbesraa committed Sep 19, 2023
1 parent 59f2324 commit 45bd5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/routing/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2580,7 +2580,7 @@ where L::Target: Logger {
let maybe_announced_channel = if let CandidateRouteHop::PublicHop { .. } = hop.candidate {
// If we sourced the hop from the graph we're sure the target node is announced.
true
} else if let CandidateRouteHop::FirstHop { details } = hop.candidate {
} else if let CandidateRouteHop::FirstHop { details, .. } = hop.candidate {
// If this is a first hop we also know if it's announced.
details.is_public
} else {
Expand Down

0 comments on commit 45bd5f2

Please sign in to comment.