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

Function is_in_pubkeys

plugins/offers.c:345–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343};
344
345static bool is_in_pubkeys(const struct pubkey *pubkeys,
346 const struct pubkey *k)
347{
348 for (size_t i = 0; i < tal_count(pubkeys); i++) {
349 if (pubkey_eq(&pubkeys[i], k))
350 return true;
351 }
352 return false;
353}
354
355static struct command_result *listincoming_done(struct command *cmd,
356 const char *method,

Callers 1

listincoming_doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected