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

Function new_coin_external_deposit

common/coin_mvt.c:531–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531struct chain_coin_mvt *new_coin_external_deposit(const tal_t *ctx,
532 const struct bitcoin_outpoint *outpoint,
533 u32 blockheight,
534 struct amount_sat amount,
535 struct mvt_tags tags)
536{
537 return new_chain_coin_mvt_sat(ctx, NULL, ACCOUNT_NAME_EXTERNAL, NULL, outpoint, NULL,
538 blockheight, tags,
539 COIN_CREDIT, amount);
540}
541
542bool chain_mvt_is_external(const struct chain_coin_mvt *mvt)
543{

Callers 1

Calls 1

new_chain_coin_mvt_satFunction · 0.85

Tested by

no test coverage detected