mirror of https://github.com/embarklabs/embark.git
fix: fetch accounts
This commit is contained in:
parent
90adaab523
commit
7d5935dc0b
|
@ -18,8 +18,7 @@ class Provider {
|
|||
this.nonceCache = {};
|
||||
|
||||
this.events.setCommandHandler("blockchain:provider:contract:accounts:get", cb => {
|
||||
const accounts = this.accounts.map(a => a.address);
|
||||
cb(accounts);
|
||||
cb(this.accounts);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue