Update packages/asset-buyer/src/swap_quoter.ts

Co-Authored-By: Jacob Evans <jacob@dekz.net>
This commit is contained in:
David Sun 2019-07-11 09:57:49 -07:00 committed by David Sun
parent 8734b70f83
commit 230cf7dfb7

View File

@ -138,7 +138,7 @@ export class SwapQuoter {
takerAssetSellAmount: BigNumber, takerAssetSellAmount: BigNumber,
options: Partial<SwapQuoteRequestOpts> = {}, options: Partial<SwapQuoteRequestOpts> = {},
): Promise<MarketSellSwapQuote> { ): Promise<MarketSellSwapQuote> {
assert.isBigNumber('makerAssetBuyAmount', takerAssetSellAmount); assert.isBigNumber('takerAssetSellAmount', takerAssetSellAmount);
return (await this._getSwapQuoteAsync( return (await this._getSwapQuoteAsync(
makerAssetData, makerAssetData,
takerAssetData, takerAssetData,