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

Function search_account

plugins/bkpr/channelsapy.c:106–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static struct account *search_account(struct account **accts, u64 acct_id)
107{
108 for (size_t i = 0; i < tal_count(accts); i++) {
109 if (accts[i]->db_id == acct_id)
110 return accts[i];
111 }
112
113 return NULL;
114}
115
116static void fillin_apy_acct_details(struct db *db,
117 const struct account *acct,

Callers 1

compute_channel_apysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected