diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 05:04:55 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-08-31 05:04:55 +0800 |
commit | f4a41e80b82e95e95c304821f3cb60dea960253b (patch) | |
tree | 933ec7ae7662cf4dfa81da8ccd2d12a5c9bd1efa | |
parent | 5c655b55d365c76b64c348c16eaf468ed42689e2 (diff) | |
download | dexon-sol-tools-f4a41e80b82e95e95c304821f3cb60dea960253b.tar dexon-sol-tools-f4a41e80b82e95e95c304821f3cb60dea960253b.tar.gz dexon-sol-tools-f4a41e80b82e95e95c304821f3cb60dea960253b.tar.bz2 dexon-sol-tools-f4a41e80b82e95e95c304821f3cb60dea960253b.tar.lz dexon-sol-tools-f4a41e80b82e95e95c304821f3cb60dea960253b.tar.xz dexon-sol-tools-f4a41e80b82e95e95c304821f3cb60dea960253b.tar.zst dexon-sol-tools-f4a41e80b82e95e95c304821f3cb60dea960253b.zip |
Remove LogError legacy stuff
-rw-r--r-- | packages/website/ts/blockchain.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts index e1b537d8e..33afd6d1b 100644 --- a/packages/website/ts/blockchain.ts +++ b/packages/website/ts/blockchain.ts @@ -341,8 +341,6 @@ export class Blockchain { ); const receipt = await this._showEtherScanLinkAndAwaitTransactionMinedAsync(txHash); const logs: Array<LogWithDecodedArgs<ExchangeEventArgs>> = receipt.logs as any; - // how to get errors from logs? - // this._contractWrappers.exchange.throwLogErrorsAsErrors(logs); const logFill = _.find(logs, { event: ExchangeEvents.Fill }); const args = (logFill.args as any) as ExchangeFillEventArgs; const takerAssetFilledAmount = args.takerAssetFilledAmount; @@ -355,8 +353,6 @@ export class Blockchain { }); const receipt = await this._showEtherScanLinkAndAwaitTransactionMinedAsync(txHash); const logs: Array<LogWithDecodedArgs<ExchangeEventArgs>> = receipt.logs as any; - // how to get errors from logs? - // this._contractWrappers.exchange.throwLogErrorsAsErrors(logs); const logCancel = _.find(logs, { event: ExchangeEvents.Cancel }); const args = (logCancel.args as any) as ExchangeCancelEventArgs; const cancelledOrderHash = args.orderHash; |