mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
coin moves: external deposits should be *deposits*
Report how much the deposit was for.
This commit is contained in:
parent
75df20ace9
commit
7f511b9ba9
1 changed files with 3 additions and 5 deletions
|
@ -261,11 +261,9 @@ struct chain_coin_mvt *new_coin_external_deposit(const tal_t *ctx,
|
|||
struct amount_sat amount,
|
||||
enum mvt_tag tag)
|
||||
{
|
||||
return new_chain_coin_mvt(ctx, EXTERNAL, NULL,
|
||||
outpoint, NULL,
|
||||
blockheight,
|
||||
take(new_tag_arr(NULL, tag)),
|
||||
AMOUNT_MSAT(0), true, amount);
|
||||
return new_chain_coin_mvt_sat(ctx, EXTERNAL, NULL, outpoint, NULL,
|
||||
blockheight, take(new_tag_arr(NULL, tag)),
|
||||
amount, true);
|
||||
}
|
||||
|
||||
bool chain_mvt_is_external(const struct chain_coin_mvt *mvt)
|
||||
|
|
Loading…
Add table
Reference in a new issue