aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-06 23:49:17 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-02-07 09:27:47 +0800
commita96e3f3222e5c5b26d4241ba8fdc84bdc0220047 (patch)
tree3dd2435415e822b3a140055fa9efce5ad602d7f1 /packages/contracts
parente35519b50fc4efd6f23b035ad4d5cd691e644553 (diff)
downloaddexon-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.ts2
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,