aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/order_watcher
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-22 01:59:34 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-22 01:59:34 +0800
commit4dc1962f9ec2c537b7944246842d934c3aee186d (patch)
tree8bbdd7ddd05c4e634aeb2d93b531c838582b73d8 /packages/0x.js/src/order_watcher
parentcfcbf34305cf1dffeb677761138a93403d9b82be (diff)
downloaddexon-sol-tools-4dc1962f9ec2c537b7944246842d934c3aee186d.tar.gz
dexon-sol-tools-4dc1962f9ec2c537b7944246842d934c3aee186d.tar.zst
dexon-sol-tools-4dc1962f9ec2c537b7944246842d934c3aee186d.zip
Fix a typo
Diffstat (limited to 'packages/0x.js/src/order_watcher')
-rw-r--r--packages/0x.js/src/order_watcher/expiration_watcher.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/order_watcher/expiration_watcher.ts b/packages/0x.js/src/order_watcher/expiration_watcher.ts
index efedd3cf8..21b239be1 100644
--- a/packages/0x.js/src/order_watcher/expiration_watcher.ts
+++ b/packages/0x.js/src/order_watcher/expiration_watcher.ts
@@ -22,7 +22,7 @@ export class ExpirationWatcher {
constructor(expirationMarginIfExistsMs?: number,
orderExpirationCheckingIntervalIfExistsMs?: number) {
this.expirationMarginMs = expirationMarginIfExistsMs ||
- DEFAULT_ORDER_EXPIRATION_CHECKING_INTERVAL_MS;
+ DEFAULT_EXPIRATION_MARGIN_MS;
this.orderExpirationCheckingIntervalMs = expirationMarginIfExistsMs ||
DEFAULT_ORDER_EXPIRATION_CHECKING_INTERVAL_MS;
const scoreFunction = (orderHash: string) => this.expiration[orderHash].toNumber();