diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-03 03:51:12 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-06 06:33:52 +0800 |
commit | e5d65b585a2b0a159f50320eaf5bfec05a869478 (patch) | |
tree | 557036cbee6b07a5ffe3751e670a04147a73409b /packages/json-schemas | |
parent | d9933237a0be069d84944e4d4f1b3dffe6bb7643 (diff) | |
download | dexon-sol-tools-e5d65b585a2b0a159f50320eaf5bfec05a869478.tar dexon-sol-tools-e5d65b585a2b0a159f50320eaf5bfec05a869478.tar.gz dexon-sol-tools-e5d65b585a2b0a159f50320eaf5bfec05a869478.tar.bz2 dexon-sol-tools-e5d65b585a2b0a159f50320eaf5bfec05a869478.tar.lz dexon-sol-tools-e5d65b585a2b0a159f50320eaf5bfec05a869478.tar.xz dexon-sol-tools-e5d65b585a2b0a159f50320eaf5bfec05a869478.tar.zst dexon-sol-tools-e5d65b585a2b0a159f50320eaf5bfec05a869478.zip |
Update hex schema to match 0x
Diffstat (limited to 'packages/json-schemas')
-rw-r--r-- | packages/json-schemas/schemas/basic_type_schemas.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/json-schemas/schemas/basic_type_schemas.ts b/packages/json-schemas/schemas/basic_type_schemas.ts index 7565df9e0..301f9ec73 100644 --- a/packages/json-schemas/schemas/basic_type_schemas.ts +++ b/packages/json-schemas/schemas/basic_type_schemas.ts @@ -7,7 +7,7 @@ export const addressSchema = { export const hexSchema = { id: '/Hex', type: 'string', - pattern: '^0x([0-9a-f][0-9a-f])+$', + pattern: '^0x(([0-9a-f][0-9a-f])+)?$', }; export const numberSchema = { |