From 0fb0b94e8d09b741f373d4a52ed159f2464215da Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 14 Dec 2020 11:56:26 +1030 Subject: [PATCH] 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 --- common/blindedpath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/blindedpath.c b/common/blindedpath.c index d6c4c15e1..11f05c326 100644 --- a/common/blindedpath.c +++ b/common/blindedpath.c @@ -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]);