aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',
};