Browse Source

fixed node pinning in AZ

cl-refactor
arkpar 10 years ago
parent
commit
01be174eba
  1. 2
      alethzero/MainWin.cpp

2
alethzero/MainWin.cpp

@ -390,7 +390,7 @@ NetworkPreferences Main::netPrefs() const
ret = NetworkPreferences(listenIP, ui->port->value(), ui->upnp->isChecked());
ret.discovery = m_privateChain.isEmpty() && !ui->hermitMode->isChecked();
ret.pin = m_privateChain.isEmpty() || ui->hermitMode->isChecked();
ret.pin = !ret.discovery;
return ret;
}

Loading…
Cancel
Save