Skip to content

Commit

Permalink
Merge pull request BlueWallet#3326 from BlueWallet/portclear
Browse files Browse the repository at this point in the history
FIX: Ports from previous scan were not cleared.
  • Loading branch information
GladosBlueWallet authored Jun 28, 2021
2 parents b2ee4ff + 1735522 commit ac285dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screen/settings/electrumSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export default class ElectrumSettings extends Component {
value = DeeplinkSchemaMatch.getServerFromSetElectrumServerAction(value);
}
const [host, port, type] = value.split(':');
this.setState({ host: host });
this.setState({ host: host, sslPort: '', port: '' });
type === 's' ? this.setState({ sslPort: port }) : this.setState({ port: port });
};

Expand Down

0 comments on commit ac285dd

Please sign in to comment.