aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-05 18:31:13 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-05 18:31:13 +0800
commit2ac15caf002394ee21b1bd40d32db66b8e9be8d9 (patch)
tree0aa88b895631b436e7a07940b211511ae79e63c7 /src
parenteb5c9ae70886cb1a14ae154f363f052a76b24479 (diff)
downloaddexon-0x-contracts-2ac15caf002394ee21b1bd40d32db66b8e9be8d9.tar.gz
dexon-0x-contracts-2ac15caf002394ee21b1bd40d32db66b8e9be8d9.tar.zst
dexon-0x-contracts-2ac15caf002394ee21b1bd40d32db66b8e9be8d9.zip
Add tests to number regex and BigNumber serialization & fix bugs
Diffstat (limited to 'src')
-rw-r--r--src/schemas/order_schemas.ts2
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 = {