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

Function search_account

plugins/bkpr/channelsapy.c:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static struct account *search_account(struct account **accts, const char *acctname)
90{
91 for (size_t i = 0; i < tal_count(accts); i++) {
92 if (streq(accts[i]->name, acctname))
93 return accts[i];
94 }
95
96 return NULL;
97}
98
99static void fillin_apy_acct_details(const struct bkpr *bkpr,
100 struct command *cmd,

Callers 1

compute_channel_apysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected