paymod: Implement TLV onion payload generation

This commit is contained in:
Christian Decker
2020-05-20 13:58:39 +02:00
parent c0b30ac907
commit b15876c112
4 changed files with 60 additions and 7 deletions

View File

@@ -119,6 +119,9 @@ struct payment {
/* Payment hash extracted from the invoice if any. */
struct sha256 *payment_hash;
/* Payment secret, from the invoice if any. */
struct secret *payment_secret;
u32 partid;
u32 next_partid;