File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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.
388388func 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
You can’t perform that action at this time.
0 commit comments