Improve the comment

This commit is contained in:
Leonid Logvinov
2017-11-20 11:17:53 -06:00
parent 67ad07020d
commit 86d19657b1

View File

@@ -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);
}