aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-21 01:17:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-21 01:17:53 +0800
commit86d19657b14f7ac7afcb04ae952425f094a02b14 (patch)
treebb529799a6c6ae67d055d008796f1773fc1cf3fa /packages/0x.js
parent67ad07020de52eccc27b088ad51094cb319db946 (diff)
downloaddexon-sol-tools-86d19657b14f7ac7afcb04ae952425f094a02b14.tar
dexon-sol-tools-86d19657b14f7ac7afcb04ae952425f094a02b14.tar.gz
dexon-sol-tools-86d19657b14f7ac7afcb04ae952425f094a02b14.tar.bz2
dexon-sol-tools-86d19657b14f7ac7afcb04ae952425f094a02b14.tar.lz
dexon-sol-tools-86d19657b14f7ac7afcb04ae952425f094a02b14.tar.xz
dexon-sol-tools-86d19657b14f7ac7afcb04ae952425f094a02b14.tar.zst
dexon-sol-tools-86d19657b14f7ac7afcb04ae952425f094a02b14.zip
Improve the comment
Diffstat (limited to 'packages/0x.js')
-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 cd73f1d1f..d699b7a51 100644
--- a/packages/0x.js/src/order_watcher/expiration_watcher.ts
+++ b/packages/0x.js/src/order_watcher/expiration_watcher.ts
@@ -43,7 +43,7 @@ export class ExpirationWatcher {
}
public addOrder(orderHash: string, expirationUnixTimestampSec: BigNumber): void {
this.expiration[orderHash] = expirationUnixTimestampSec;
- // We don't remove hashes on order remove because it's slow (linear).
+ // We don't remove hashes from the heap on order remove because it's slow (linear).
// We just skip them later if the order was already removed from the order watcher.
this.orderHashHeapByExpiration.push(orderHash);
}