aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-24 02:44:41 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-08-24 15:59:10 +0800
commita41ea299e58d594f908736ba50fafd31310db5f7 (patch)
treed10cf586030fe734d0661ff9f9edbbc2675c2862 /src
parente4f5b9cdb3021a7af1fa97c2ef0233bdf59af62c (diff)
downloaddexon-sol-tools-a41ea299e58d594f908736ba50fafd31310db5f7.tar
dexon-sol-tools-a41ea299e58d594f908736ba50fafd31310db5f7.tar.gz
dexon-sol-tools-a41ea299e58d594f908736ba50fafd31310db5f7.tar.bz2
dexon-sol-tools-a41ea299e58d594f908736ba50fafd31310db5f7.tar.lz
dexon-sol-tools-a41ea299e58d594f908736ba50fafd31310db5f7.tar.xz
dexon-sol-tools-a41ea299e58d594f908736ba50fafd31310db5f7.tar.zst
dexon-sol-tools-a41ea299e58d594f908736ba50fafd31310db5f7.zip
Add tests for tokenRegistry public getters
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/token_registry_wrapper.ts2
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);