Skip to content

Commit 48c0817

Browse files
authored
Merge pull request #15 from creslinux/master
Comment Spelling Corrections - lightning-onion
2 parents 9e4b184 + 4ea0e19 commit 48c0817

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hornet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const fSLength = 48
2121
// * NOTE: this doesn't include adding R to the forwarding segment, and w/e esle
2222

2323
// Hmmm since each uses diff key, just use AES-CTR with blank nonce, given key,
24-
// encrypt plaintext of all zeroes, this'll give us our len(plaintext) rand bytes.
24+
// encrypt plaintext of all zeros, this'll give us our len(plaintext) rand bytes.
2525
// PRG0 -> {0, 1}^k -> {0, 1}^r(c+k) or {0, 1}^1280 (assuming 20 hops, like rusty, but, is that too large? maybe, idk)
2626
// PRG1 -> {0, 1}^k -> {0, 1}^r(c+k) or {0, 1}^1280 (assuming 20 hops)
2727
// PRG2 -> {0, 1}^k -> {0, 1}^rc or {0, 1}^960 (assuming 20 hops, c=48)

obfuscation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type OnionErrorEncrypter struct {
3030
sharedSecret Hash256
3131
}
3232

33-
// NewOnionErrorEncrypter creates new instance of the onion encryper backed by
33+
// NewOnionErrorEncrypter creates new instance of the onion encrypter backed by
3434
// the passed router, with encryption to be doing using the passed
3535
// ephemeralKey.
3636
func NewOnionErrorEncrypter(router *Router,

sphinx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ func (p ProcessCode) String() string {
594594

595595
// ProcessedPacket encapsulates the resulting state generated after processing
596596
// an OnionPacket. A processed packet communicates to the caller what action
597-
// shuold be taken after processing.
597+
// should be taken after processing.
598598
type ProcessedPacket struct {
599599
// Action represents the action the caller should take after processing
600600
// the packet.

0 commit comments

Comments
 (0)