aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-20 21:01:35 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-20 21:02:25 +0800
commitd639a22cffebed137d703ad76b30f5bcb42de9a4 (patch)
tree49ae2b855043520c6b128b612dfcf54dfdd3e277 /packages/0x.js/src/contract_wrappers
parentb1f36a9024700ab948f7bd75eff24b29032e5907 (diff)
downloaddexon-sol-tools-d639a22cffebed137d703ad76b30f5bcb42de9a4.tar
dexon-sol-tools-d639a22cffebed137d703ad76b30f5bcb42de9a4.tar.gz
dexon-sol-tools-d639a22cffebed137d703ad76b30f5bcb42de9a4.tar.bz2
dexon-sol-tools-d639a22cffebed137d703ad76b30f5bcb42de9a4.tar.lz
dexon-sol-tools-d639a22cffebed137d703ad76b30f5bcb42de9a4.tar.xz
dexon-sol-tools-d639a22cffebed137d703ad76b30f5bcb42de9a4.tar.zst
dexon-sol-tools-d639a22cffebed137d703ad76b30f5bcb42de9a4.zip
Add WETH9 tests
Diffstat (limited to 'packages/0x.js/src/contract_wrappers')
-rw-r--r--packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts b/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
index 7b2743811..3e5be3ae4 100644
--- a/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
@@ -121,7 +121,7 @@ export class EtherTokenWrapper extends ContractWrapper {
etherTokenAddress: string, eventName: EtherTokenEvents, indexFilterValues: IndexedFilterValues,
callback: EventCallback<ArgsType>): string {
assert.isETHAddressHex('etherTokenAddress', etherTokenAddress);
- assert.doesBelongToStringEnum('eventName', eventName, TokenEvents);
+ assert.doesBelongToStringEnum('eventName', eventName, EtherTokenEvents);
assert.doesConformToSchema('indexFilterValues', indexFilterValues, schemas.indexFilterValuesSchema);
assert.isFunction('callback', callback);
const subscriptionToken = this._subscribe<ArgsType>(