From 278bd0543bff64c6640821468003a3541194d443 Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Thu, 20 Feb 2020 15:46:47 +0100 Subject: [PATCH] Renamed array to shrKeyArray --- p2p/conn/secret_connection.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/p2p/conn/secret_connection.go b/p2p/conn/secret_connection.go index cd3fba535..c14f1bb5c 100644 --- a/p2p/conn/secret_connection.go +++ b/p2p/conn/secret_connection.go @@ -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) {