Commit 6c565cad authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Remove unused keyshareBlocked error

parent 4baf49cb
......@@ -94,7 +94,7 @@ func (sh *ManualSessionHandler) Failure(irmaAction irma.Action, err *irma.Sessio
}
}
func (sh *ManualSessionHandler) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) {
sh.Failure(irma.ActionUnknown, &irma.SessionError{ErrorType: irma.ErrorKeyshareBlocked})
sh.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareBlocked")})
}
func (sh *ManualSessionHandler) KeyshareRegistrationIncomplete(manager irma.SchemeManagerIdentifier) {
sh.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareRegistrationIncomplete")})
......
......@@ -106,8 +106,6 @@ const (
ErrorSerialization = ErrorType("serialization")
// Error in keyshare protocol
ErrorKeyshare = ErrorType("keyshare")
// Keyshare server has blocked us
ErrorKeyshareBlocked = ErrorType("keyshareBlocked")
// API server error
ErrorApi = ErrorType("api")
// Server returned unexpected or malformed response
......
Markdown is supported
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