diff options
author | Jacob Evans <jacob@dekz.net> | 2017-11-16 03:40:43 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2017-11-16 03:40:43 +0800 |
commit | ee8042b4584793aba35c969b74274f60d76c95df (patch) | |
tree | d41c4cef6ebfcfde8351d111645ab35651ef208f /packages | |
parent | 1e1b14edc575e4daa485692fd4ceea977d3c099c (diff) | |
download | dexon-sol-tools-ee8042b4584793aba35c969b74274f60d76c95df.tar dexon-sol-tools-ee8042b4584793aba35c969b74274f60d76c95df.tar.gz dexon-sol-tools-ee8042b4584793aba35c969b74274f60d76c95df.tar.bz2 dexon-sol-tools-ee8042b4584793aba35c969b74274f60d76c95df.tar.lz dexon-sol-tools-ee8042b4584793aba35c969b74274f60d76c95df.tar.xz dexon-sol-tools-ee8042b4584793aba35c969b74274f60d76c95df.tar.zst dexon-sol-tools-ee8042b4584793aba35c969b74274f60d76c95df.zip |
Add return type
Diffstat (limited to 'packages')
-rw-r--r-- | packages/0x.js/CHANGELOG.md | 2 | ||||
-rw-r--r-- | packages/0x.js/src/order_watcher/order_state_watcher.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/CHANGELOG.md b/packages/0x.js/CHANGELOG.md index 3b90691a7..56a1e1ab0 100644 --- a/packages/0x.js/CHANGELOG.md +++ b/packages/0x.js/CHANGELOG.md @@ -2,7 +2,7 @@ Pending ------------------------ - * Subscribe to ZRX Token Transfer and Approval events when maker token is different + * In OrderWatcher subscribe to ZRX Token Transfer and Approval events when maker token is different (#225) v0.25.1 - _November 13, 2017_ ------------------------ 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 421524808..9f756dbc3 100644 --- a/packages/0x.js/src/order_watcher/order_state_watcher.ts +++ b/packages/0x.js/src/order_watcher/order_state_watcher.ts @@ -213,7 +213,7 @@ export class OrderStateWatcher { await this._callbackIfExistsAsync(orderState); } } - private async addToDependentOrderHashes(signedOrder: SignedOrder, orderHash: string) { + private async addToDependentOrderHashes(signedOrder: SignedOrder, orderHash: string): Promise<void> { if (_.isUndefined(this._dependentOrderHashes[signedOrder.maker])) { this._dependentOrderHashes[signedOrder.maker] = {}; } |