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

Function offer_onehop_path

plugins/offers_offer.c:292–298  ·  view source on GitHub ↗

Common case of making a single path */

Source from the content-addressed store, hash-verified

290
291/* Common case of making a single path */
292static struct blinded_path **offer_onehop_path(const tal_t *ctx,
293 const struct offers_data *od,
294 const struct tlv_offer *offer,
295 const struct pubkey *neighbor)
296{
297 return offer_onehop_paths(ctx, od, offer, neighbor, 1);
298}
299
300static struct command_result *found_best_peer(struct command *cmd,
301 const struct chaninfo *best,

Callers 1

found_best_peerFunction · 0.85

Calls 1

offer_onehop_pathsFunction · 0.85

Tested by

no test coverage detected