File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2128,6 +2128,8 @@ where L::Target: Logger {
2128
2128
. map ( |( _, path) | {
2129
2129
match & path. introduction_node {
2130
2130
IntroductionNode :: NodeId ( pubkey) => {
2131
+ // Note that this will only return `Some` if the `pubkey` is somehow known to
2132
+ // us (i.e. a channel counterparty or in the network graph).
2131
2133
node_counters. node_counter_from_id ( & NodeId :: from_pubkey ( & pubkey) )
2132
2134
} ,
2133
2135
IntroductionNode :: DirectedShortChannelId ( direction, scid) => {
@@ -7710,7 +7712,7 @@ mod tests {
7710
7712
} ;
7711
7713
7712
7714
let mut invalid_blinded_path_2 = invalid_blinded_path. clone ( ) ;
7713
- invalid_blinded_path_2. introduction_node = IntroductionNode :: NodeId ( ln_test_utils :: pubkey ( 45 ) ) ;
7715
+ invalid_blinded_path_2. introduction_node = IntroductionNode :: NodeId ( nodes [ 3 ] ) ;
7714
7716
let payment_params = PaymentParameters :: blinded ( vec ! [
7715
7717
( blinded_payinfo. clone( ) , invalid_blinded_path. clone( ) ) ,
7716
7718
( blinded_payinfo. clone( ) , invalid_blinded_path_2) ] ) ;
You can’t perform that action at this time.
0 commit comments