await this.keysManager.init

This commit is contained in:
viktor 2018-01-29 22:39:28 +03:00
parent 35d2cfd309
commit 335e34332f
1 changed files with 2 additions and 2 deletions

View File

@ -45,10 +45,10 @@ class App extends Component {
isDisabledBtn: false
}
this.keysManager = null;
getWeb3().then((web3Config) => {
getWeb3().then(async (web3Config) => {
this.setState({web3Config})
this.keysManager = new KeysManager()
this.keysManager.init({
await this.keysManager.init({
web3: web3Config.web3Instance,
netId: web3Config.netId
});