mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 23:54:22 +01:00
sphinx: Removing last vestiges of the end-to-end payload
So far this was simply set to a zero-length end-to-end payload. We don't have any plans of re-adding it for the moment, so let's get rid of the unused code.
This commit is contained in:
committed by
Rusty Russell
parent
285b8b4698
commit
91b17d45d8
@@ -442,9 +442,7 @@ static void json_sendpay(struct command *cmd,
|
||||
randombytes_buf(&sessionkey, sizeof(sessionkey));
|
||||
|
||||
/* Onion will carry us from first peer onwards. */
|
||||
packet = create_onionpacket(
|
||||
cmd, ids, hoppayloads,
|
||||
sessionkey, (u8*)"", 0);
|
||||
packet = create_onionpacket(cmd, ids, hoppayloads, sessionkey);
|
||||
onion = serialize_onionpacket(cmd, packet);
|
||||
|
||||
if (pc)
|
||||
|
||||
Reference in New Issue
Block a user