Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
xianny committed Apr 26, 2019
1 parent 0dfa3ba commit 1f3a925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/contract-wrappers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,13 @@
"@0x/typescript-typings": "^4.2.2",
"@0x/utils": "^4.3.1",
"@0x/web3-wrapper": "^6.0.5",
"@types/supertest": "^2.0.7",
"ethereum-types": "^2.1.2",
"ethereumjs-abi": "0.6.5",
"ethereumjs-blockstream": "6.0.0",
"ethereumjs-util": "^5.1.1",
"ethers": "~4.0.4",
"js-sha3": "^0.7.0",
"lodash": "^4.17.11",
"supertest": "^4.0.2",
"uuid": "^3.3.2"
},
"publishConfig": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ export class CoordinatorWrapper extends ContractWrapper {
);

if (response.status !== HTTP_OK) {
throw new Error(`${response.status}: ${JSON.stringify(await response.json())}`); // todo
throw new Error(`${response.status}: ${JSON.stringify(await response.json())}`); // todo (xianny)
}

return (await response.json()) as CoordinatorServerApprovalResponse | CoordinatorServerCancellationResponse;
Expand Down Expand Up @@ -650,7 +650,7 @@ export class CoordinatorWrapper extends ContractWrapper {
orderTransactionOpts,
);
}
} // tslint:disable:max-file-line-count
}

function getFeeRecipientOrThrow(orders: Array<Order | SignedOrder>): string {
const uniqueFeeRecipients = new Set(orders.map(o => o.feeRecipientAddress));
Expand All @@ -669,3 +669,4 @@ function getMakerAddressOrThrow(orders: Array<Order | SignedOrder>): string {
}
return orders[0].makerAddress;
}
// tslint:disable:max-file-line-count

0 comments on commit 1f3a925

Please sign in to comment.