| 557 | } |
| 558 | |
| 559 | struct chain_coin_mvt *new_coin_wallet_withdraw(const tal_t *ctx, |
| 560 | const struct bitcoin_txid *spend_txid, |
| 561 | const struct bitcoin_outpoint *outpoint, |
| 562 | u32 blockheight, |
| 563 | struct amount_sat amount, |
| 564 | struct mvt_tags tags) |
| 565 | { |
| 566 | return new_chain_coin_mvt_sat(ctx, NULL, ACCOUNT_NAME_WALLET, spend_txid, |
| 567 | outpoint, NULL, |
| 568 | blockheight, tags, |
| 569 | COIN_DEBIT, amount); |
| 570 | } |
| 571 | |
| 572 | struct channel_coin_mvt *new_coin_channel_push_general(const tal_t *ctx, |
| 573 | const struct channel *channel, |
no test coverage detected