mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
pay: Inherit payment label to all children
This commit is contained in:
parent
0dcd974d97
commit
894c886bdd
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ struct payment *payment_new(tal_t *ctx, struct command *cmd,
|
|||
tal_arr_expand(&parent->children, p);
|
||||
p->destination = parent->destination;
|
||||
p->amount = parent->amount;
|
||||
p->label = parent->label;
|
||||
p->payment_hash = parent->payment_hash;
|
||||
p->partid = payment_root(p->parent)->next_partid++;
|
||||
p->plugin = parent->plugin;
|
||||
|
|
Loading…
Add table
Reference in a new issue