diff --git a/common/coin_mvt.c b/common/coin_mvt.c index e6e698a3a..68c23c989 100644 --- a/common/coin_mvt.c +++ b/common/coin_mvt.c @@ -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, diff --git a/common/coin_mvt.h b/common/coin_mvt.h index 0f3b97475..350945c00 100644 --- a/common/coin_mvt.h +++ b/common/coin_mvt.h @@ -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,