You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blinded paths use a pubkey to identify the introduction node, but it
will soon allow using a directed short channel id instead. Add an
introduction_node_id method to BlindedPath to facilitate lookup in the
latter case.
Copy file name to clipboardExpand all lines: lightning/src/routing/router.rs
+14-6Lines changed: 14 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1863,17 +1863,17 @@ where L::Target: Logger {
1863
1863
}
1864
1864
},
1865
1865
Payee::Blinded{ route_hints, .. } => {
1866
-
if route_hints.iter().all(|(_, path)| &path.introduction_node_id == our_node_pubkey){
1866
+
if route_hints.iter().all(|(_, path)| path.introduction_node_id(network_graph) == Some(&our_node_id)){
1867
1867
returnErr(LightningError{err:"Cannot generate a route to blinded paths if we are the introduction node to all of them".to_owned(),action:ErrorAction::IgnoreError});
0 commit comments