| 353 | } |
| 354 | |
| 355 | struct 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 | |
| 369 | struct chain_coin_mvt *new_onchaind_deposit(const tal_t *ctx, |
| 370 | const struct bitcoin_outpoint *outpoint, |
nothing calls this directly
no test coverage detected