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

Function paid_invoice_fee

plugins/bkpr/incomestmt.c:215–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215static struct income_event *paid_invoice_fee(const tal_t *ctx,
216 struct channel_event *ev)
217{
218 struct income_event *iev;
219 iev = channel_to_income(ctx, ev, AMOUNT_MSAT(0), ev->fees);
220 iev->tag = tal_free(ev->tag);
221 iev->tag = (char *)account_entry_tag_str(INVOICEFEE);
222 return iev;
223}
224
225static struct income_event *rebalance_fee(const tal_t *ctx,
226 struct channel_event *ev)

Callers 1

list_income_eventsFunction · 0.85

Calls 3

channel_to_incomeFunction · 0.85
tal_freeFunction · 0.85
account_entry_tag_strFunction · 0.70

Tested by

no test coverage detected