aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher
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 /packages/order-watcher
parentb0e9f5803327f5cbd4ca0cbee7e9217c46a3f1ba (diff)
downloaddexon-sol-tools-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar
dexon-sol-tools-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar.gz
dexon-sol-tools-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar.bz2
dexon-sol-tools-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar.lz
dexon-sol-tools-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar.xz
dexon-sol-tools-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.tar.zst
dexon-sol-tools-77c77631e1d11b7a331ecc6ec73cce82ef1eb0b4.zip
Add a comment
Diffstat (limited to 'packages/order-watcher')
-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);
}