| 182 | } |
| 183 | |
| 184 | struct chain_coin_mvt *new_coin_channel_close(const tal_t *ctx, |
| 185 | const struct bitcoin_txid *txid, |
| 186 | const struct bitcoin_outpoint *out, |
| 187 | u32 blockheight, |
| 188 | const struct amount_msat amount, |
| 189 | const struct amount_sat output_val, |
| 190 | u32 output_count) |
| 191 | { |
| 192 | return new_chain_coin_mvt(ctx, NULL, txid, |
| 193 | out, NULL, blockheight, |
| 194 | take(new_tag_arr(NULL, CHANNEL_CLOSE)), |
| 195 | amount, false, |
| 196 | output_val, |
| 197 | output_count); |
| 198 | } |
| 199 | |
| 200 | struct chain_coin_mvt *new_coin_channel_open_proposed(const tal_t *ctx, |
| 201 | const struct channel_id *chan_id, |
nothing calls this directly
no test coverage detected