From a96e3f3222e5c5b26d4241ba8fdc84bdc0220047 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 6 Feb 2018 16:49:17 +0100 Subject: Add missing async --- packages/contracts/util/token_registry_wrapper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/contracts') 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, -- cgit