From 722a6ad5dce484ef5875132fd57970390c69e85d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 31 May 2017 15:56:52 +0200 Subject: Don't return contract response --- src/contract_wrappers/exchange_wrapper.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts index 0749a7e80..3f6210894 100644 --- a/src/contract_wrappers/exchange_wrapper.ts +++ b/src/contract_wrappers/exchange_wrapper.ts @@ -55,7 +55,7 @@ export class ExchangeWrapper extends ContractWrapper { return isValidSignature; } public async fillOrderAsync(signedOrder: SignedOrder, fillAmount: BigNumber.BigNumber, - shouldCheckTransfer: boolean = true): Promise { + shouldCheckTransfer: boolean = true): Promise { assert.doesConformToSchema('signedOrder', JSON.parse(JSON.stringify(signedOrder)), signedOrderSchema); assert.isBigNumber('fillAmount', fillAmount); assert.isBoolean('shouldCheckTransfer', shouldCheckTransfer); @@ -93,7 +93,6 @@ export class ExchangeWrapper extends ContractWrapper { }, ); this.throwErrorLogsAsErrors(response.logs); - return response; } private async getExchangeInstanceOrThrowAsync(): Promise { const contractInstance = await this.instantiateContractIfExistsAsync((ExchangeArtifacts as any)); -- cgit