From 5611df82f9f276fb161fa268f7ab468a6c1d7784 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 4 Jul 2017 10:19:03 -0700 Subject: Refactor event tests --- src/contract_wrappers/token_wrapper.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/contract_wrappers') 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 { - 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) { -- cgit v1.2.3