Browse Source

Renamed array to shrKeyArray

pull/4449/head
Erik Grinaker 5 years ago
parent
commit
278bd0543b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      p2p/conn/secret_connection.go

+ 3
- 3
p2p/conn/secret_connection.go View File

@ -361,9 +361,9 @@ func computeDHSecret(remPubKey, locPrivKey *[32]byte) (*[32]byte, error) {
if err != nil {
return nil, err
}
var array [32]byte
copy(array[:], shrKey)
return &array, nil
var shrKeyArray [32]byte
copy(shrKeyArray[:], shrKey)
return &shrKeyArray, nil
}
func sort32(foo, bar *[32]byte) (lo, hi *[32]byte) {


Loading…
Cancel
Save