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

Function get_account

plugins/bkpr/incomestmt.c:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#define ONCHAIN_FEE "onchain_fee"
23
24static struct account *get_account(struct account **accts,
25 u64 acct_db_id)
26{
27 for (size_t i = 0; i < tal_count(accts); i++) {
28 if (accts[i]->db_id == acct_db_id)
29 return accts[i];
30 }
31 return NULL;
32}
33
34static struct income_event *chain_to_income(const tal_t *ctx,
35 struct chain_event *ev,

Callers 1

list_income_eventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected