We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f54dc3 commit fa9aee2Copy full SHA for fa9aee2
lightning/src/ln/outbound_payment.rs
@@ -1000,6 +1000,10 @@ impl OutboundPayments {
1000
path_errs.push(Err(APIError::InvalidRoute{err: "Path didn't go anywhere/had bogus size".to_owned()}));
1001
continue 'path_check;
1002
}
1003
+ if path.blinded_tail.is_some() {
1004
+ path_errs.push(Err(APIError::InvalidRoute{err: "Sending to blinded paths isn't supported yet".to_owned()}));
1005
+ continue 'path_check;
1006
+ }
1007
for (idx, hop) in path.hops.iter().enumerate() {
1008
if idx != path.hops.len() - 1 && hop.pubkey == our_node_id {
1009
path_errs.push(Err(APIError::InvalidRoute{err: "Path went through us but wasn't a simple rebalance loop to us".to_owned()}));
0 commit comments