if(executionContext.getProvider()!=='vm')returncb('plugin API does not allow creating a new account through web3 connection. Only vm mode is allowed')
returnnewPromise((resolve,reject)=>{
this._addAccount(privateKey,balance)
if(executionContext.getProvider()!=='vm')returnreject('plugin API does not allow creating a new account through web3 connection. Only vm mode is allowed')