Remove personal_* calls from dapps (#2860)

* remove accountsInfo & listAccounts

* registry accounts selector works
This commit is contained in:
Jaco Greeff
2016-10-25 15:15:22 +02:00
committed by Gav Wood
parent b6f2628018
commit 4fc1c5f42e
9 changed files with 30 additions and 29 deletions

View File

@@ -16,7 +16,7 @@
import React, { Component, PropTypes } from 'react';
import { api } from '../parity';
// import { api } from '../parity';
import { attachInstances } from '../services';
import Header from './Header';
@@ -83,9 +83,10 @@ export default class Application extends Component {
Promise
.all([
attachInstances(),
api.personal.accountsInfo()
null // api.personal.accountsInfo()
])
.then(([{ managerInstance, registryInstance, tokenregInstance }, accountsInfo]) => {
accountsInfo = accountsInfo || {};
this.setState({
loading: false,
managerInstance,