From ed7917f9dfc83ea4dc150fbfc14145f038c9642d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Mon, 30 Oct 2017 15:08:58 +0200 Subject: Fix config schema --- src/schemas/order_watcher_config_schema.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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', }; -- cgit