mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
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:
parent
a67a4ad96e
commit
bb86b605de
@ -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);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user