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

Function paid_invoice_fee

plugins/bkpr/incomestmt.c:195–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195static struct income_event *paid_invoice_fee(const tal_t *ctx,
196 const struct bkpr *bkpr,
197 struct channel_event *ev)
198{
199 struct income_event *iev;
200 iev = channel_to_income(ctx, bkpr, ev, AMOUNT_MSAT(0), ev->fees);
201 iev->tag = tal_free(ev->tag);
202 iev->tag = (char *)account_entry_tag_str(INVOICEFEE);
203 return iev;
204}
205
206static struct income_event *rebalance_fee(const tal_t *ctx,
207 const struct bkpr *bkpr,

Callers 1

list_income_eventsFunction · 0.85

Calls 3

channel_to_incomeFunction · 0.85
tal_freeFunction · 0.85
account_entry_tag_strFunction · 0.85

Tested by

no test coverage detected