diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-30 21:08:58 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-10-31 00:49:16 +0800 |
commit | ed7917f9dfc83ea4dc150fbfc14145f038c9642d (patch) | |
tree | 66b9ae6abc2d23abc5d91b3a09badad9ab1604b3 | |
parent | 2a25ece3636015e8429fe4556b62fc84545dc7c7 (diff) | |
download | dexon-sol-tools-ed7917f9dfc83ea4dc150fbfc14145f038c9642d.tar dexon-sol-tools-ed7917f9dfc83ea4dc150fbfc14145f038c9642d.tar.gz dexon-sol-tools-ed7917f9dfc83ea4dc150fbfc14145f038c9642d.tar.bz2 dexon-sol-tools-ed7917f9dfc83ea4dc150fbfc14145f038c9642d.tar.lz dexon-sol-tools-ed7917f9dfc83ea4dc150fbfc14145f038c9642d.tar.xz dexon-sol-tools-ed7917f9dfc83ea4dc150fbfc14145f038c9642d.tar.zst dexon-sol-tools-ed7917f9dfc83ea4dc150fbfc14145f038c9642d.zip |
Fix config schema
-rw-r--r-- | src/schemas/order_watcher_config_schema.ts | 5 |
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', }; |