aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-11 09:58:05 +0800
committerFabio Berger <me@fabioberger.com>2017-07-11 15:30:14 +0800
commite54e9dfa2c709c6e9eb879e3196f5baafd9a309a (patch)
treebb622f0c37c30cb2cb90e1dbeed9947256cb5948 /src
parent987d7a7d8a74189dfd01a0381977afd4c6871481 (diff)
downloaddexon-sol-tools-e54e9dfa2c709c6e9eb879e3196f5baafd9a309a.tar.gz
dexon-sol-tools-e54e9dfa2c709c6e9eb879e3196f5baafd9a309a.tar.zst
dexon-sol-tools-e54e9dfa2c709c6e9eb879e3196f5baafd9a309a.zip
Fix a typo in comment
Diffstat (limited to 'src')
-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);