| 470 | } |
| 471 | |
| 472 | struct chain_coin_mvt *new_coin_channel_open(const tal_t *ctx, |
| 473 | const struct channel *channel, |
| 474 | const struct bitcoin_outpoint *out, |
| 475 | const struct node_id *peer_id, |
| 476 | u32 blockheight, |
| 477 | const struct amount_msat amount, |
| 478 | const struct amount_sat output_val, |
| 479 | bool is_opener, |
| 480 | bool is_leased) |
| 481 | { |
| 482 | return new_coin_channel_open_general(ctx, channel, NULL, |
| 483 | coinmvt_current_time(), |
| 484 | out, peer_id, blockheight, |
| 485 | amount, output_val, is_opener, is_leased); |
| 486 | } |
| 487 | |
| 488 | struct chain_coin_mvt *new_onchain_htlc_deposit(const tal_t *ctx, |
| 489 | const struct bitcoin_outpoint *outpoint, |
no test coverage detected