| 22 | #define ONCHAIN_FEE "onchain_fee" |
| 23 | |
| 24 | static 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 | |
| 34 | static struct income_event *chain_to_income(const tal_t *ctx, |
| 35 | struct chain_event *ev, |
no outgoing calls
no test coverage detected