Commit 8e71e1a3 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

refactor: remove useless error check

parent 62d56a9a
......@@ -215,10 +215,6 @@ func (s *Server) generateCommitments(user *KeyshareUser, authorization string, k
// Prepare output message format
mappedCommitments := map[irma.PublicKeyIdentifier]*gabi.ProofPCommitment{}
for i, keyID := range keys {
if err != nil {
s.conf.Logger.WithFields(logrus.Fields{"keyid": keyID, "error": err}).Error("Could not convert key identifier to string")
return nil, err
mappedCommitments[keyID] = commitments[i]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment