From 0682f6aac36436c1b42a521f4ba20b9dd9d016c7 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 15 Dec 2025 09:36:31 -0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix(mpc-service):=20=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20DTO=20=E9=AA=8C=E8=AF=81=E8=A3=85=E9=A5=B0=E5=99=A8?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 6eb4b6b153419bc1c093b15c9be0c5b085552d12. --- .../src/api/controllers/mpc.controller.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/backend/services/mpc-service/src/api/controllers/mpc.controller.ts b/backend/services/mpc-service/src/api/controllers/mpc.controller.ts index 8cda0488..3afb2edc 100644 --- a/backend/services/mpc-service/src/api/controllers/mpc.controller.ts +++ b/backend/services/mpc-service/src/api/controllers/mpc.controller.ts @@ -28,7 +28,6 @@ import { ApiResponse, ApiParam, } from '@nestjs/swagger'; -import { IsString, IsNumber, IsBoolean, IsOptional } from 'class-validator'; import { Public } from '../../shared/decorators/public.decorator'; import { MPCCoordinatorService } from '../../application/services/mpc-coordinator.service'; @@ -37,28 +36,15 @@ import { MPCCoordinatorService } from '../../application/services/mpc-coordinato // ============================================ export class CreateKeygenDto { - @IsString() username: string; - - @IsNumber() thresholdN: number; - - @IsNumber() thresholdT: number; - - @IsBoolean() requireDelegate: boolean; } export class CreateSigningDto { - @IsString() username: string; - - @IsString() messageHash: string; - - @IsString() - @IsOptional() userShare?: string; }