Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Fix broken "save account" e2e scenario - Closes #957
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Nov 6, 2017
1 parent 8cc7604 commit 05e9de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/login/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class Login extends React.Component {
const { savedAccounts } = this.props;
if (savedAccounts && savedAccounts.length > 0 && !this.props.account.afterLogout) {
this.account = savedAccounts[0];
const network = Object.assign({}, getNetwork(this.state.network));
const network = Object.assign({}, getNetwork(this.account.network));
if (this.account.network === networks.customNode.code) {
network.address = this.account.address;
}
Expand Down

0 comments on commit 05e9de9

Please sign in to comment.