aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-29 04:27:39 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-29 04:27:39 +0800
commitab9171719963b1e1b92e3f2aef8f9e92bc63d6fe (patch)
tree7dc579740ee8f6a1611a0bf000f5550db1675cfa /packages/0x.js/src
parente4dfdc6b5c9073470ef7f70325d013ec20c7da96 (diff)
downloaddexon-sol-tools-ab9171719963b1e1b92e3f2aef8f9e92bc63d6fe.tar
dexon-sol-tools-ab9171719963b1e1b92e3f2aef8f9e92bc63d6fe.tar.gz
dexon-sol-tools-ab9171719963b1e1b92e3f2aef8f9e92bc63d6fe.tar.bz2
dexon-sol-tools-ab9171719963b1e1b92e3f2aef8f9e92bc63d6fe.tar.lz
dexon-sol-tools-ab9171719963b1e1b92e3f2aef8f9e92bc63d6fe.tar.xz
dexon-sol-tools-ab9171719963b1e1b92e3f2aef8f9e92bc63d6fe.tar.zst
dexon-sol-tools-ab9171719963b1e1b92e3f2aef8f9e92bc63d6fe.zip
Rename
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r--packages/0x.js/src/order_watcher/order_state_watcher.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/src/order_watcher/order_state_watcher.ts b/packages/0x.js/src/order_watcher/order_state_watcher.ts
index bf80fc00a..1e21dce66 100644
--- a/packages/0x.js/src/order_watcher/order_state_watcher.ts
+++ b/packages/0x.js/src/order_watcher/order_state_watcher.ts
@@ -166,11 +166,11 @@ export class OrderStateWatcher {
}
private async _cleanupAsync(): Promise<void> {
for (const orderHash of _.keys(this._orderByOrderHash)) {
- this._cleanupOrderDependeeState(orderHash);
+ this._cleanupOrderRelatedState(orderHash);
await this._emitRevalidateOrdersAsync([orderHash]);
}
}
- private _cleanupOrderDependeeState(orderHash: string): void {
+ private _cleanupOrderRelatedState(orderHash: string): void {
const signedOrder = this._orderByOrderHash[orderHash];
this._orderFilledCancelledLazyStore.deleteFilledTakerAmount(orderHash);