Add missing async
This commit is contained in:
committed by
Amir Bandeali
parent
e35519b50f
commit
a96e3f3222
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user