aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-20 08:38:34 +0800
committerFabio Berger <me@fabioberger.com>2017-06-20 08:38:34 +0800
commit20f59d556da11fa1c5c5c2f36ab467579b06d9a5 (patch)
tree82aae6e49f4472ba860fba68a7de05a46c49ba63 /src/contract_wrappers/exchange_wrapper.ts
parent1ad54ba74229a1e617d3b85430b32455c63a08b0 (diff)
downloaddexon-sol-tools-20f59d556da11fa1c5c5c2f36ab467579b06d9a5.tar
dexon-sol-tools-20f59d556da11fa1c5c5c2f36ab467579b06d9a5.tar.gz
dexon-sol-tools-20f59d556da11fa1c5c5c2f36ab467579b06d9a5.tar.bz2
dexon-sol-tools-20f59d556da11fa1c5c5c2f36ab467579b06d9a5.tar.lz
dexon-sol-tools-20f59d556da11fa1c5c5c2f36ab467579b06d9a5.tar.xz
dexon-sol-tools-20f59d556da11fa1c5c5c2f36ab467579b06d9a5.tar.zst
dexon-sol-tools-20f59d556da11fa1c5c5c2f36ab467579b06d9a5.zip
Add missing semi-colon
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 9cbe8d874..e33dd6f6e 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -717,7 +717,7 @@ export class ExchangeWrapper extends ContractWrapper {
private _throwErrorLogsAsErrors(logs: ContractEvent[]): void {
const errEvent = _.find(logs, {event: 'LogError'});
if (!_.isUndefined(errEvent)) {
- const errCode = (errEvent.args as LogErrorContractEventArgs).errorId.toNumber()
+ const errCode = (errEvent.args as LogErrorContractEventArgs).errorId.toNumber();
const errMessage = this._exchangeContractErrCodesToMsg[errCode];
throw new Error(errMessage);
}