| 515 | } |
| 516 | |
| 517 | struct chain_coin_mvt *new_coin_external_spend(const tal_t *ctx, |
| 518 | const struct bitcoin_outpoint *outpoint, |
| 519 | const struct bitcoin_txid *txid, |
| 520 | u32 blockheight, |
| 521 | struct amount_sat amount, |
| 522 | struct mvt_tags tags) |
| 523 | { |
| 524 | return new_chain_coin_mvt(ctx, NULL, ACCOUNT_NAME_EXTERNAL, |
| 525 | coinmvt_current_time(), txid, |
| 526 | outpoint, NULL, blockheight, |
| 527 | tags, |
| 528 | COIN_CREDIT, AMOUNT_MSAT(0), amount, 0); |
| 529 | } |
| 530 | |
| 531 | struct chain_coin_mvt *new_coin_external_deposit(const tal_t *ctx, |
| 532 | const struct bitcoin_outpoint *outpoint, |
nothing calls this directly
no test coverage detected