diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-24 02:44:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-24 15:59:10 +0800 |
commit | a41ea299e58d594f908736ba50fafd31310db5f7 (patch) | |
tree | d10cf586030fe734d0661ff9f9edbbc2675c2862 /src/contract_wrappers/token_registry_wrapper.ts | |
parent | e4f5b9cdb3021a7af1fa97c2ef0233bdf59af62c (diff) | |
download | dexon-0x-contracts-a41ea299e58d594f908736ba50fafd31310db5f7.tar.gz dexon-0x-contracts-a41ea299e58d594f908736ba50fafd31310db5f7.tar.zst dexon-0x-contracts-a41ea299e58d594f908736ba50fafd31310db5f7.zip |
Add tests for tokenRegistry public getters
Diffstat (limited to 'src/contract_wrappers/token_registry_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/token_registry_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/token_registry_wrapper.ts b/src/contract_wrappers/token_registry_wrapper.ts index 207259fcd..7a88d329d 100644 --- a/src/contract_wrappers/token_registry_wrapper.ts +++ b/src/contract_wrappers/token_registry_wrapper.ts @@ -60,7 +60,7 @@ export class TokenRegistryWrapper extends ContractWrapper { return addressIfExists; } } - public async getTokenAddressByNameIfExistsAsync(symbol: string): Promise<string|undefined> { + public async getTokenAddressByNameIfExistsAsync(name: string): Promise<string|undefined> { assert.isString('name', name); const tokenRegistryContract = await this._getTokenRegistryContractAsync(); const addressIfExists = await tokenRegistryContract.getTokenAddressByName.call(name); |