Set default account back

This commit is contained in:
Anthony Laibe 2018-09-20 11:49:05 +01:00
parent d5d0aa1600
commit 09de3201a1
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ class EmbarkController {
web3Endpoint: web3Config.providerUrl
};
const provider = new Provider(providerOptions);
web3.eth.defaultAccount = web3Config.defaultAccount;
provider.startWeb3Provider(() => {
engine.events.emit("runcode:register", "web3", web3);
async.each(commands, ({varName, code}, next) => {