diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-06 19:59:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-06 19:59:25 +0800 |
commit | bf66a43ca81f799446fe031a972721f4352470b5 (patch) | |
tree | 602ec3bcdf65fbff84ccc35455653d1c95fd8829 /src/schemas/order_schemas.ts | |
parent | b1ecb45f1bf5fed0762e7f17b00f46ae6fdc6b56 (diff) | |
parent | 1c7229d7837e92dc89769bd876dffdecc5669eaa (diff) | |
download | dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.gz dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.bz2 dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.lz dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.xz dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.tar.zst dexon-sol-tools-bf66a43ca81f799446fe031a972721f4352470b5.zip |
Merge pull request #34 from 0xProject/number-regex
Add tests to number regex and BigNumber serialization & fix bugs
Diffstat (limited to 'src/schemas/order_schemas.ts')
-rw-r--r-- | src/schemas/order_schemas.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schemas/order_schemas.ts b/src/schemas/order_schemas.ts index 72012dc26..4999f3e9d 100644 --- a/src/schemas/order_schemas.ts +++ b/src/schemas/order_schemas.ts @@ -7,7 +7,7 @@ export const addressSchema = { export const numberSchema = { id: '/numberSchema', type: 'string', - format: '\d+(\.\d+)?', + pattern: '^\\d+(\\.\\d+)?$', }; export const orderSchema = { |