diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-22 01:59:34 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-22 01:59:34 +0800 |
commit | 4dc1962f9ec2c537b7944246842d934c3aee186d (patch) | |
tree | 8bbdd7ddd05c4e634aeb2d93b531c838582b73d8 /packages/0x.js/src | |
parent | cfcbf34305cf1dffeb677761138a93403d9b82be (diff) | |
download | dexon-0x-contracts-4dc1962f9ec2c537b7944246842d934c3aee186d.tar dexon-0x-contracts-4dc1962f9ec2c537b7944246842d934c3aee186d.tar.gz dexon-0x-contracts-4dc1962f9ec2c537b7944246842d934c3aee186d.tar.bz2 dexon-0x-contracts-4dc1962f9ec2c537b7944246842d934c3aee186d.tar.lz dexon-0x-contracts-4dc1962f9ec2c537b7944246842d934c3aee186d.tar.xz dexon-0x-contracts-4dc1962f9ec2c537b7944246842d934c3aee186d.tar.zst dexon-0x-contracts-4dc1962f9ec2c537b7944246842d934c3aee186d.zip |
Fix a typo
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r-- | packages/0x.js/src/order_watcher/expiration_watcher.ts | 2 |
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(); |