diff --git a/auth/request.go b/auth/request.go index b001757c3182345f2509c647d4c8fb759f5d6ba6..40c6c378b02b4080f1cca27fb6625ee5bb28e398 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) }