mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
common/blindedpath: fix type of enctlv.
This didn't compile, but since nothing depends yet on common/blindedpath.o we don't build it yet. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
9fe612db20
commit
0fb0b94e8d
1 changed files with 2 additions and 2 deletions
|
@ -72,11 +72,11 @@ struct onionmsg_path **make_blindedpath(const tal_t *ctx,
|
|||
|
||||
for (size_t i = 0; i < num - 1; i++) {
|
||||
const unsigned char npub[crypto_aead_chacha20poly1305_ietf_NPUBBYTES] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
|
||||
struct tlv_onionmsg_payload *inner;
|
||||
struct tlv_encmsg_tlvs *inner;
|
||||
int ret;
|
||||
|
||||
/* Inner is encrypted */
|
||||
inner = tlv_onionmsg_payload_new(tmpctx);
|
||||
inner = tlv_encmsg_tlvs_new(tmpctx);
|
||||
/* FIXME: We could support scids, too */
|
||||
inner->next_node_id = cast_const(struct pubkey *, &route[i+1]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue