File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ On the other computer run:
762762 dataDecrypt , decryptErr = crypt .Decrypt (data , kB )
763763 if decryptErr != nil {
764764 log .Tracef ("error decrypting: %v: '%s'" , decryptErr , data )
765- // relay sent a messag encrypted with an invalid key.
765+ // relay sent a message encrypted with an invalid key.
766766 // consider this a security issue and abort
767767 if strings .Contains (decryptErr .Error (), "message authentication failed" ) {
768768 errchan <- decryptErr
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ func WordsRequired(length int) int {
4444
4545// EncodeWordList encodes src into mnemomic words which are appended to dst.
4646// The final wordlist is returned.
47- // There will be WordsRequired(len(src)) words appeneded .
47+ // There will be WordsRequired(len(src)) words appended .
4848func EncodeWordList (dst []string , src []byte ) (result []string ) {
4949 if n := len (dst ) + WordsRequired (len (src )); cap (dst ) < n {
5050 result = make ([]string , len (dst ), n )
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ func LocalIP() string {
281281 return localAddr .IP .String ()
282282}
283283
284- // GenerateRandomPin returns a randomly generated pin with set lenght
284+ // GenerateRandomPin returns a randomly generated pin with set length
285285func GenerateRandomPin () string {
286286 s := ""
287287 max := new (big.Int )
You can’t perform that action at this time.
0 commit comments