Fix a typo in comment

This commit is contained in:
Leonid Logvinov
2017-07-10 18:58:05 -07:00
parent 8180225d1f
commit 2b7b9c8f8b

View File

@@ -487,12 +487,12 @@ export class ExchangeWrapper extends ContractWrapper {
* Cancel a given fill amount of an order. Cancellations are cumulative. * Cancel a given fill amount of an order. Cancellations are cumulative.
* @param order An object that conforms to the Order or SignedOrder interface. * @param order An object that conforms to the Order or SignedOrder interface.
* The order you would like to cancel. * 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). * @return The amount of the order that was cancelled (in taker token baseUnits).
*/ */
@decorators.contractCallErrorHandler @decorators.contractCallErrorHandler
public async cancelOrderAsync( 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.doesConformToSchema('order', order, orderSchema);
assert.isBigNumber('takerTokenCancelAmount', canceltakerTokenAmount); assert.isBigNumber('takerTokenCancelAmount', canceltakerTokenAmount);
await assert.isSenderAddressAsync('order.maker', order.maker, this._web3Wrapper); await assert.isSenderAddressAsync('order.maker', order.maker, this._web3Wrapper);