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

Fix broken "save account" e2e scenario - Closes #957 #958

Merged
merged 1 commit into from
Nov 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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