MCPcopy Create free account
hub / github.com/ElementsProject/lightning / current_their_path

Function current_their_path

plugins/fetchinvoice.c:562–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560};
561
562static const struct blinded_path *current_their_path(const struct establishing_paths *epaths)
563{
564 if (epaths->sent->direct_dest)
565 return NULL;
566 assert(epaths->which_blinded_path < tal_count(epaths->sent->their_paths));
567 return epaths->sent->their_paths[epaths->which_blinded_path];
568}
569
570static struct command_result *establish_path_done(struct command *cmd,
571 const struct pubkey *path,

Callers 3

establish_path_doneFunction · 0.85
establish_path_failFunction · 0.85
try_establishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected