diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-06 23:49:17 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-02-07 09:27:47 +0800 |
commit | a96e3f3222e5c5b26d4241ba8fdc84bdc0220047 (patch) | |
tree | 3dd2435415e822b3a140055fa9efce5ad602d7f1 /packages/contracts | |
parent | e35519b50fc4efd6f23b035ad4d5cd691e644553 (diff) | |
download | dexon-sol-tools-a96e3f3222e5c5b26d4241ba8fdc84bdc0220047.tar dexon-sol-tools-a96e3f3222e5c5b26d4241ba8fdc84bdc0220047.tar.gz dexon-sol-tools-a96e3f3222e5c5b26d4241ba8fdc84bdc0220047.tar.bz2 dexon-sol-tools-a96e3f3222e5c5b26d4241ba8fdc84bdc0220047.tar.lz dexon-sol-tools-a96e3f3222e5c5b26d4241ba8fdc84bdc0220047.tar.xz dexon-sol-tools-a96e3f3222e5c5b26d4241ba8fdc84bdc0220047.tar.zst dexon-sol-tools-a96e3f3222e5c5b26d4241ba8fdc84bdc0220047.zip |
Add missing async
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/util/token_registry_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/util/token_registry_wrapper.ts b/packages/contracts/util/token_registry_wrapper.ts index 6539a6da8..d0af17103 100644 --- a/packages/contracts/util/token_registry_wrapper.ts +++ b/packages/contracts/util/token_registry_wrapper.ts @@ -9,7 +9,7 @@ export class TokenRegWrapper { constructor(tokenRegContract: TokenRegistryContract) { this._tokenReg = tokenRegContract; } - public addTokenAsync(token: Token, from: string) { + public async addTokenAsync(token: Token, from: string) { const tx = this._tokenReg.addToken.sendTransactionAsync( token.address as string, token.name, |