aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/schemas/signature_data_schema.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-08 03:58:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-08 03:58:19 +0800
commit8fba0477a69317c19b3446c76a17cb3adbf447d7 (patch)
tree7c0cc8f53f1c9e7fe7f5f6d3d1f7b8249edbdaa7 /packages/website/ts/schemas/signature_data_schema.ts
parente6f2c7a382e2e7e940f430f350240cb2f703bdcd (diff)
downloaddexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.gz
dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.tar.zst
dexon-sol-tools-8fba0477a69317c19b3446c76a17cb3adbf447d7.zip
Remove hash from signatureData
Diffstat (limited to 'packages/website/ts/schemas/signature_data_schema.ts')
-rw-r--r--packages/website/ts/schemas/signature_data_schema.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/website/ts/schemas/signature_data_schema.ts b/packages/website/ts/schemas/signature_data_schema.ts
index 8d3f15926..7852abfef 100644
--- a/packages/website/ts/schemas/signature_data_schema.ts
+++ b/packages/website/ts/schemas/signature_data_schema.ts
@@ -1,11 +1,10 @@
export const signatureDataSchema = {
id: '/SignatureData',
properties: {
- hash: { type: 'string' },
r: { type: 'string' },
s: { type: 'string' },
v: { type: 'number' },
},
- required: ['hash', 'r', 's', 'v'],
+ required: ['r', 's', 'v'],
type: 'object',
};