mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
paymod: Implement TLV onion payload generation
This commit is contained in:
@@ -1764,6 +1764,7 @@ static struct command_result *json_paymod(struct command *cmd,
|
||||
p->json_toks = params;
|
||||
p->destination = p->getroute_destination = &b11->receiver_id;
|
||||
p->payment_hash = tal_dup(p, struct sha256, &b11->payment_hash);
|
||||
p->payment_secret = tal_dup(p, struct secret, b11->payment_secret);
|
||||
payment_start(p);
|
||||
list_add_tail(&payments, &p->list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user