Skip to content

Commit

Permalink
coin_moves: remove unused method
Browse files Browse the repository at this point in the history
This wasn't used anywhere, so we remove it.
  • Loading branch information
niftynei authored and rustyrussell committed Feb 7, 2022
1 parent c0e3155 commit 39572c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
14 changes: 0 additions & 14 deletions common/coin_mvt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 0 additions & 8 deletions common/coin_mvt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 39572c1

Please sign in to comment.