aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-11 09:58:05 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-11 09:58:05 +0800
commit2b7b9c8f8b764662ee84d1ef3f810e99791ca513 (patch)
tree557d5f0c26c8162cc744dde6b82691c85931de72
parent8180225d1f824b3a1777317ad4f4a13ec6abb536 (diff)
downloaddexon-sol-tools-2b7b9c8f8b764662ee84d1ef3f810e99791ca513.tar
dexon-sol-tools-2b7b9c8f8b764662ee84d1ef3f810e99791ca513.tar.gz
dexon-sol-tools-2b7b9c8f8b764662ee84d1ef3f810e99791ca513.tar.bz2
dexon-sol-tools-2b7b9c8f8b764662ee84d1ef3f810e99791ca513.tar.lz
dexon-sol-tools-2b7b9c8f8b764662ee84d1ef3f810e99791ca513.tar.xz
dexon-sol-tools-2b7b9c8f8b764662ee84d1ef3f810e99791ca513.tar.zst
dexon-sol-tools-2b7b9c8f8b764662ee84d1ef3f810e99791ca513.zip
Fix a typo in comment
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index ee5cd7287..1646031b7 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -487,12 +487,12 @@ export class ExchangeWrapper extends ContractWrapper {
* Cancel a given fill amount of an order. Cancellations are cumulative.
* @param order An object that conforms to the Order or SignedOrder interface.
* The order you would like to cancel.
- * @param takerTokenCancelAmount The amount (specified in taker tokens) that you would like to cancel.
+ * @param cancelTakerTokenAmount The amount (specified in taker tokens) that you would like to cancel.
* @return The amount of the order that was cancelled (in taker token baseUnits).
*/
@decorators.contractCallErrorHandler
public async cancelOrderAsync(
- order: Order|SignedOrder, canceltakerTokenAmount: BigNumber.BigNumber): Promise<BigNumber.BigNumber> {
+ order: Order|SignedOrder, cancelTakerTokenAmount: BigNumber.BigNumber): Promise<BigNumber.BigNumber> {
assert.doesConformToSchema('order', order, orderSchema);
assert.isBigNumber('takerTokenCancelAmount', canceltakerTokenAmount);
await assert.isSenderAddressAsync('order.maker', order.maker, this._web3Wrapper);