aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-30 21:08:58 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-10 03:11:45 +0800
commitff5d18d327ccde9e47c46dfc5a191778d7d34c83 (patch)
tree0a9b3da50e89d5eff0c005c5f2c7d5a05804055f
parent1980b3fae4ed9c92aa7feb2f1c79ea4b49525341 (diff)
downloaddexon-0x-contracts-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar.gz
dexon-0x-contracts-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar.zst
dexon-0x-contracts-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.zip
Fix config schema
-rw-r--r--src/schemas/order_watcher_config_schema.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/schemas/order_watcher_config_schema.ts b/src/schemas/order_watcher_config_schema.ts
index a88d2ecfd..9c2dc38a4 100644
--- a/src/schemas/order_watcher_config_schema.ts
+++ b/src/schemas/order_watcher_config_schema.ts
@@ -1,7 +1,10 @@
export const orderWatcherConfigSchema = {
id: '/OrderWatcherConfig',
properties: {
- mempoolPollingIntervalMs: {$ref: '/Number'},
+ mempoolPollingIntervalMs: {
+ type: 'number',
+ min: 0,
+ },
},
type: 'object',
};