Skip to content

Commit 637d885

Browse files
committed
fixup! multi: Support jumbo size om packets
1 parent 9d68daa commit 637d885

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sphinx.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const (
4646
// consuming all available space. We need to know this in order to
4747
// generate a sufficiently long stream of pseudo-random bytes when
4848
// encrypting/decrypting the payload. This field is here for backwards
49-
// compatibility. Throughtout the code we use StandardRoutingInfoSize
49+
// compatibility. Throughout the code we use StandardRoutingInfoSize
5050
// because of the more apt naming.
5151
MaxPayloadSize = standardRoutingInfoSize
5252
StandardRoutingInfoSize = standardRoutingInfoSize
@@ -387,6 +387,7 @@ func rightShift(slice []byte, num int) {
387387
// each hop.
388388
func generateHeaderPadding(key string, path *PaymentPath,
389389
sharedSecrets []Hash256, routingInfoLen int) []byte {
390+
390391
numHops := path.TrueRouteLength()
391392

392393
// We have to generate a filler that matches all but the last hop (the

0 commit comments

Comments
 (0)