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

Function new_onchaind_withdraw

common/coin_mvt.c:355–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355struct chain_coin_mvt *new_onchaind_withdraw(const tal_t *ctx,
356 const struct bitcoin_outpoint *outpoint,
357 const struct bitcoin_txid *spend_txid,
358 u32 blockheight,
359 struct amount_sat amount,
360 struct mvt_tags tags)
361{
362 return new_chain_coin_mvt_sat(ctx, NULL, "", spend_txid,
363 outpoint, NULL,
364 blockheight,
365 tags,
366 COIN_DEBIT, amount);
367}
368
369struct chain_coin_mvt *new_onchaind_deposit(const tal_t *ctx,
370 const struct bitcoin_outpoint *outpoint,

Callers

nothing calls this directly

Calls 1

new_chain_coin_mvt_satFunction · 0.85

Tested by

no test coverage detected