Function validate

Source
pub fn validate<Ctx>(
    ctx: &Ctx,
    msg: MsgRecoverClient,
) -> Result<(), ClientError>
where Ctx: ValidationContext,
Expand description

Performs the validation steps associated with the client recovery process. This includes validating that the parameters of the subject and substitute clients match, as well as validating that the substitute client is active and that the subject client is not active.