mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
common: remove support for pre v0.10.2 onionmessages.
Temporarily disable sendpay_blinding test which uses obsolete onionmsg; there's still some debate on the PR about how blinded HTLCs will work. Changelog-EXPERIMENTAL: onionmessage: removed support for v0.10.1 onion messages. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -144,15 +144,7 @@ int main(int argc, char **argv)
|
||||
|
||||
/* Inner is encrypted */
|
||||
inner = tlv_encmsg_tlvs_new(tmpctx);
|
||||
/* Use scid if they provided one */
|
||||
if (scids[i]) {
|
||||
inner->obs_next_short_channel_id
|
||||
= tal_dup(inner, struct short_channel_id,
|
||||
scids[i]);
|
||||
} else {
|
||||
inner->next_node_id
|
||||
= tal_dup(inner, struct pubkey, &nodes[i+1]);
|
||||
}
|
||||
inner->next_node_id = tal_dup(inner, struct pubkey, &nodes[i+1]);
|
||||
p = tal_arr(tmpctx, u8, 0);
|
||||
towire_encmsg_tlvs(&p, inner);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user