mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 14:24:24 +00:00
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…
x
Reference in New Issue
Block a user