From 2718e8fdaff51bd864d25ca628af95c61e7500bd Mon Sep 17 00:00:00 2001
From: "Richard T. Carback III" <rick.carback@gmail.com>
Date: Thu, 17 Jun 2021 20:18:26 +0000
Subject: [PATCH] newPrivKey -> newPubKey

---
 auth/request.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auth/request.go b/auth/request.go
index b001757c3..40c6c378b 100644
--- a/auth/request.go
+++ b/auth/request.go
@@ -149,7 +149,7 @@ func RequestAuth(partner, me contact.Contact, message string, rng io.Reader,
 	//store the in progress auth
 	if !resend {
 		err = storage.Auth().AddSent(partner.ID, partner.DhPubKey, newPrivKey,
-			newPrivKey, confirmFp)
+			newPubKey, confirmFp)
 		if err != nil {
 			return 0, errors.Errorf("Failed to store auth request: %s", err)
 		}
-- 
GitLab