diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-08 00:51:52 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-08 00:51:52 +0800 |
commit | a200eaacaa3975b63f24d8be6cdfc7b0921d91ef (patch) | |
tree | 0659dfc9942ac240889c0b964d6c1278b35d655f /packages/contracts | |
parent | f5ad553be35bcc35fdac9620ae3d1e5546fd902c (diff) | |
download | dexon-0x-contracts-a200eaacaa3975b63f24d8be6cdfc7b0921d91ef.tar.gz dexon-0x-contracts-a200eaacaa3975b63f24d8be6cdfc7b0921d91ef.tar.zst dexon-0x-contracts-a200eaacaa3975b63f24d8be6cdfc7b0921d91ef.zip |
Fix tslint failure
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/src/utils/multi_sig_wrapper.ts | 1 | ||||
-rw-r--r-- | packages/contracts/test/libraries/lib_bytes.ts | 2 | ||||
-rw-r--r-- | packages/contracts/test/unlimited_allowance_token.ts | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/multi_sig_wrapper.ts b/packages/contracts/src/utils/multi_sig_wrapper.ts index 750466ce1..8c4dbcedf 100644 --- a/packages/contracts/src/utils/multi_sig_wrapper.ts +++ b/packages/contracts/src/utils/multi_sig_wrapper.ts @@ -44,6 +44,7 @@ export class MultiSigWrapper { txId: BigNumber, from: string, ): Promise<TransactionReceiptWithDecodedLogs> { + // tslint:disable-next-line:no-unnecessary-type-assertion const txHash = await (this ._multiSig as AssetProxyOwnerContract).executeRemoveAuthorizedAddress.sendTransactionAsync(txId, { from }); const tx = await this._logDecoder.getTxWithDecodedLogsAsync(txHash); diff --git a/packages/contracts/test/libraries/lib_bytes.ts b/packages/contracts/test/libraries/lib_bytes.ts index dea45049e..baac497e8 100644 --- a/packages/contracts/test/libraries/lib_bytes.ts +++ b/packages/contracts/test/libraries/lib_bytes.ts @@ -6,7 +6,7 @@ import ethUtil = require('ethereumjs-util'); import { TestLibBytesContract } from '../../src/contract_wrappers/generated/test_lib_bytes'; import { artifacts } from '../../src/utils/artifacts'; -import { expectRevertOrAlwaysFailingTransactionAsync, expectRevertOrOtherErrorAsync } from '../../src/utils/assertions'; +import { expectRevertOrOtherErrorAsync } from '../../src/utils/assertions'; import { chaiSetup } from '../../src/utils/chai_setup'; import { constants } from '../../src/utils/constants'; import { provider, txDefaults, web3Wrapper } from '../../src/utils/web3_wrapper'; diff --git a/packages/contracts/test/unlimited_allowance_token.ts b/packages/contracts/test/unlimited_allowance_token.ts index ac232d8ff..ae9e80270 100644 --- a/packages/contracts/test/unlimited_allowance_token.ts +++ b/packages/contracts/test/unlimited_allowance_token.ts @@ -5,7 +5,7 @@ import 'make-promises-safe'; import { DummyERC20TokenContract } from '../src/contract_wrappers/generated/dummy_e_r_c20_token'; import { artifacts } from '../src/utils/artifacts'; -import { expectRevertOrAlwaysFailingTransactionAsync, expectRevertOrOtherErrorAsync } from '../src/utils/assertions'; +import { expectRevertOrOtherErrorAsync } from '../src/utils/assertions'; import { chaiSetup } from '../src/utils/chai_setup'; import { constants } from '../src/utils/constants'; import { provider, txDefaults, web3Wrapper } from '../src/utils/web3_wrapper'; |