diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 01:19:03 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 01:26:43 +0800 |
commit | 5611df82f9f276fb161fa268f7ab468a6c1d7784 (patch) | |
tree | f65656f97027193acb941a13e42bf14735aeda43 /src/contract_wrappers | |
parent | f39a2134b946ab2c7f24b9fcc49f95156e7682d5 (diff) | |
download | dexon-sol-tools-5611df82f9f276fb161fa268f7ab468a6c1d7784.tar dexon-sol-tools-5611df82f9f276fb161fa268f7ab468a6c1d7784.tar.gz dexon-sol-tools-5611df82f9f276fb161fa268f7ab468a6c1d7784.tar.bz2 dexon-sol-tools-5611df82f9f276fb161fa268f7ab468a6c1d7784.tar.lz dexon-sol-tools-5611df82f9f276fb161fa268f7ab468a6c1d7784.tar.xz dexon-sol-tools-5611df82f9f276fb161fa268f7ab468a6c1d7784.tar.zst dexon-sol-tools-5611df82f9f276fb161fa268f7ab468a6c1d7784.zip |
Refactor event tests
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r-- | src/contract_wrappers/token_wrapper.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts index 1e087e8b0..d3ef5d6cf 100644 --- a/src/contract_wrappers/token_wrapper.ts +++ b/src/contract_wrappers/token_wrapper.ts @@ -205,10 +205,6 @@ export class TokenWrapper extends ContractWrapper { */ public async subscribeAsync(tokenAddress: string, eventName: TokenEvents, subscriptionOpts: SubscriptionOpts, indexFilterValues: IndexedFilterValues): Promise<ContractEventEmitter> { - assert.isETHAddressHex('tokenAddress', tokenAddress); - // assert.isEventName('eventName', eventName); - assert.doesConformToSchema('subscriptionOpts', subscriptionOpts, subscriptionOptsSchema); - assert.doesConformToSchema('indexFilterValues', indexFilterValues, indexFilterValuesSchema); const tokenContract = await this._getTokenContractAsync(tokenAddress); let createLogEvent: CreateContractEvent; switch (eventName) { |