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:
Christian Decker
2017-01-13 18:48:07 +01:00
committed by Rusty Russell
parent 285b8b4698
commit 91b17d45d8
5 changed files with 9 additions and 62 deletions

View File

@@ -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)