aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-11-14 23:03:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-11-14 23:03:19 +0800
commit77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4 (patch)
treeba008be8f9a8221976cb780ee3bf6cd72afcdc62
parentb0e9f5803327f5cbd4ca0cbee7e9217c46a3f1ba (diff)
downloaddexon-0x-contracts-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar.gz
dexon-0x-contracts-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar.zst
dexon-0x-contracts-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.zip
Add a comment
-rw-r--r--packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts b/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts
index 4c8585985..a956a94db 100644
--- a/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts
+++ b/packages/order-watcher/src/order_watcher/dependent_order_hashes_tracker.ts
@@ -89,6 +89,7 @@ export class DependentOrderHashesTracker {
(decodedMakerAssetData as ERC721AssetData).tokenId,
);
}
+ // If makerToken === ZRX then we already removed it and we don't need to remove it again.
if ((decodedMakerAssetData as ERC20AssetData).tokenAddress !== this._zrxTokenAddress) {
this._removeFromERC20DependentOrderhashes(signedOrder, this._zrxTokenAddress);
}