mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-19 05:44:12 +01:00
coin_moves: remove unused method
This wasn't used anywhere, so we remove it.
This commit is contained in:
parent
c0e3155bb6
commit
39572c1aaf
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user