From 0848fe96cf09679926d307c86414cfb8b6f16d78 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 29 May 2017 11:39:12 +0200 Subject: Move files up and remove ts folder --- src/ts/schemas/ec_signature_schema.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/ts/schemas/ec_signature_schema.ts (limited to 'src/ts/schemas') diff --git a/src/ts/schemas/ec_signature_schema.ts b/src/ts/schemas/ec_signature_schema.ts deleted file mode 100644 index 94e58e53c..000000000 --- a/src/ts/schemas/ec_signature_schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -export const ECSignatureParameter = { - id: '/ECSignatureParameter', - type: 'string', - pattern: '^0[xX][0-9A-Fa-f]{64}$', -}; - -export const ECSignatureSchema = { - id: '/ECSignature', - properties: { - v: { - type: 'number', - minimum: 27, - maximum: 28, - }, - r: {$ref: '/ECSignatureParameter'}, - s: {$ref: '/ECSignatureParameter'}, - }, - required: ['v', 'r', 's'], - type: 'object', -}; -- cgit v1.2.3