| 529 | } |
| 530 | |
| 531 | struct 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 | |
| 542 | bool chain_mvt_is_external(const struct chain_coin_mvt *mvt) |
| 543 | { |
no test coverage detected