mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
sphinx: Removed per-hop payloads, will be replaced by hop_data
This is in preparation for the migration to `hop_data` which contains all fields, and uses the `short_channel_id` instead of the pubkey.
This commit is contained in:
@@ -141,13 +141,9 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
struct hoppayload *hoppayloads = tal_arr(ctx, struct hoppayload, num_hops);
|
||||
for (i=0; i<num_hops; i++)
|
||||
memset(&hoppayloads[i], 'A', sizeof(hoppayloads[i]));
|
||||
|
||||
struct onionpacket *res = create_onionpacket(ctx,
|
||||
path,
|
||||
hoppayloads,
|
||||
sessionkey,
|
||||
assocdata,
|
||||
sizeof(assocdata));
|
||||
|
||||
Reference in New Issue
Block a user