Fix a typo in authorized

This commit is contained in:
Leonid Logvinov
2017-06-29 13:11:22 -07:00
parent 83eeeb85b2
commit fd242a1e06
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ export class ProxyWrapper extends ContractWrapper {
*/
public async isAuthorizedAsync(exchangeContractAddress: string): Promise<boolean> {
const proxyContractInstance = await this._getTokenRegistryContractAsync();
const isAuthorized = await proxyContractInstance.authrized.call(exchangeContractAddress);
const isAuthorized = await proxyContractInstance.authorized.call(exchangeContractAddress);
return isAuthorized;
}
private async _getTokenRegistryContractAsync(): Promise<ProxyContract> {

View File

@@ -149,7 +149,7 @@ export interface EtherTokenContract extends ContractInstance {
}
export interface ProxyContract extends ContractInstance {
authrized: {
authorized: {
call: (address: string) => Promise<boolean>;
};
}