aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas
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 /src/schemas
parent1980b3fae4ed9c92aa7feb2f1c79ea4b49525341 (diff)
downloaddexon-sol-tools-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar
dexon-sol-tools-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar.gz
dexon-sol-tools-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar.bz2
dexon-sol-tools-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar.lz
dexon-sol-tools-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar.xz
dexon-sol-tools-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.tar.zst
dexon-sol-tools-ff5d18d327ccde9e47c46dfc5a191778d7d34c83.zip
Fix config schema
Diffstat (limited to 'src/schemas')
-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',
};