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

Commit

Permalink
Merge pull request #958 from LiskHQ/957-make-save-account-e2e-pending
Browse files Browse the repository at this point in the history
Fix broken "save account" e2e scenario - Closes #957
  • Loading branch information
slaweet authored Nov 6, 2017
2 parents 8cc7604 + 05e9de9 commit c434fc6
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 c434fc6

Please sign in to comment.