aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-10 07:04:24 +0800
committerFabio Berger <me@fabioberger.com>2017-11-10 07:04:24 +0800
commit595dc6de0360a8d21db78aba81d9cd44bffc6a1c (patch)
tree371fb817c2ecb586fdbff2c26d0f99fb2b286b0e /src
parent322e054f1ab3f1325c203f61f1edb2f56867fc6d (diff)
downloaddexon-sol-tools-595dc6de0360a8d21db78aba81d9cd44bffc6a1c.tar
dexon-sol-tools-595dc6de0360a8d21db78aba81d9cd44bffc6a1c.tar.gz
dexon-sol-tools-595dc6de0360a8d21db78aba81d9cd44bffc6a1c.tar.bz2
dexon-sol-tools-595dc6de0360a8d21db78aba81d9cd44bffc6a1c.tar.lz
dexon-sol-tools-595dc6de0360a8d21db78aba81d9cd44bffc6a1c.tar.xz
dexon-sol-tools-595dc6de0360a8d21db78aba81d9cd44bffc6a1c.tar.zst
dexon-sol-tools-595dc6de0360a8d21db78aba81d9cd44bffc6a1c.zip
Fix comments
Diffstat (limited to 'src')
-rw-r--r--src/order_watcher/order_state_watcher.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/order_watcher/order_state_watcher.ts b/src/order_watcher/order_state_watcher.ts
index f6ce4edb7..000e92773 100644
--- a/src/order_watcher/order_state_watcher.ts
+++ b/src/order_watcher/order_state_watcher.ts
@@ -82,8 +82,8 @@ export class OrderStateWatcher {
/**
* Starts an orderStateWatcher subscription. The callback will be called every time a watched order's
* backing blockchain state has changed. This is a call-to-action for the caller to re-validate the order.
- * @param callback Receives the orderHash of the order that should be re-validated, together.
- * with all the order-relevant blockchain state needed to re-validate the order
+ * @param callback Receives the orderHash of the order that should be re-validated, together
+ * with all the order-relevant blockchain state needed to re-validate the order.
* @param numConfirmations Number of confirmed blocks deeps you want to run the orderWatcher from. Passing
* is 0 will watch the backing node's mempool, 3 will emit events when blockchain
* state relevant to a watched order changed 3 blocks ago.
@@ -98,7 +98,6 @@ export class OrderStateWatcher {
}
/**
* Ends an orderStateWatcher subscription.
- * @param signedOrder The order you wish to stop watching.
*/
public unsubscribe(): void {
delete this._callbackIfExistsAsync;