fix: fetch accounts

This commit is contained in:
Anthony Laibe 2019-02-26 09:31:20 +00:00
parent 90adaab523
commit 7d5935dc0b
1 changed files with 1 additions and 2 deletions

View File

@ -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);
});
}