aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/order_watcher
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2017-11-14 23:56:57 +0800
committerJacob Evans <jacob@dekz.net>2017-11-14 23:56:57 +0800
commita12069f03fb1c1c93884c2e168917d229f7864e9 (patch)
tree6dd3547b22e8a011f35f2e81d6a664320cb5be01 /packages/0x.js/src/order_watcher
parentbc61b920706224f0bd9c82a2e5355dae3fcc0fa9 (diff)
downloaddexon-sol-tools-a12069f03fb1c1c93884c2e168917d229f7864e9.tar.gz
dexon-sol-tools-a12069f03fb1c1c93884c2e168917d229f7864e9.tar.zst
dexon-sol-tools-a12069f03fb1c1c93884c2e168917d229f7864e9.zip
Callback for subscribe no longer supports an Async Callback
Diffstat (limited to 'packages/0x.js/src/order_watcher')
-rw-r--r--packages/0x.js/src/order_watcher/event_watcher.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/order_watcher/event_watcher.ts b/packages/0x.js/src/order_watcher/event_watcher.ts
index 81529a98c..c39431f6d 100644
--- a/packages/0x.js/src/order_watcher/event_watcher.ts
+++ b/packages/0x.js/src/order_watcher/event_watcher.ts
@@ -81,7 +81,7 @@ export class EventWatcher {
...log,
};
if (!_.isUndefined(this._intervalIdIfExists)) {
- await callback(logEvent);
+ callback(logEvent);
}
}
}