coin_moves: remove unused method

This wasn't used anywhere, so we remove it.
This commit is contained in:
niftynei 2022-01-21 13:56:28 -06:00 committed by Rusty Russell
parent c0e3155bb6
commit 39572c1aaf
2 changed files with 0 additions and 22 deletions

View File

@ -296,20 +296,6 @@ struct chain_coin_mvt *new_coin_wallet_withdraw(const tal_t *ctx,
amount, false);
}
struct chain_coin_mvt *new_coin_penalty_sat(const tal_t *ctx,
const char *account_name,
const struct bitcoin_txid *txid,
const struct bitcoin_outpoint *outpoint,
u32 blockheight,
struct amount_sat amount)
{
return new_chain_coin_mvt_sat(ctx, account_name,
txid, outpoint, NULL,
blockheight,
take(new_tag_arr(NULL, PENALTY)),
amount, false);
}
struct channel_coin_mvt *new_coin_channel_push(const tal_t *ctx,
const struct channel_id *cid,
struct amount_msat amount,

View File

@ -227,14 +227,6 @@ struct chain_coin_mvt *new_coin_external_deposit(const tal_t *ctx,
enum mvt_tag tag)
NON_NULL_ARGS(2);
struct chain_coin_mvt *new_coin_penalty_sat(const tal_t *ctx,
const char *account_name,
const struct bitcoin_txid *txid,
const struct bitcoin_outpoint *outpoint,
u32 blockheight,
struct amount_sat amount)
NON_NULL_ARGS(3, 4);
struct channel_coin_mvt *new_coin_channel_push(const tal_t *ctx,
const struct channel_id *cid,
struct amount_msat amount,