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

Function rebalance_fee

plugins/bkpr/incomestmt.c:209–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209static struct income_event *rebalance_fee(const tal_t *ctx,
210 const struct bkpr *bkpr,
211 struct channel_event *ev)
212{
213 struct income_event *iev;
214 iev = channel_to_income(ctx, bkpr, ev, AMOUNT_MSAT(0), ev->fees);
215 iev->tag = tal_free(ev->tag);
216 iev->tag = (char *)account_entry_tag_str(REBALANCEFEE);
217 return iev;
218}
219
220static struct income_event *maybe_channel_income(const tal_t *ctx,
221 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