fix(@embark/core): web3.eth.getAccounts returning empty

`web3.eth.getAccounts` was returning an empty array in the console due to a change, that I’m unsure of what the original intention was for.

@andremederios, could you please take a look, and let me know if this breaks the intention of the original changes?
This commit is contained in:
emizzle 2019-02-27 12:05:12 +11:00 committed by Eric Mastro
parent a67a4ad96e
commit bb86b605de

View File

@ -129,7 +129,7 @@ class Provider {
return cb(err);
}
if (self.accounts.length) {
result.result = self.blockchainAccounts.map(a => a.address);
result.result = self.addresses;
}
cb(null, result);
});