|
|
@ -1899,7 +1899,7 @@ void Main::on_net_triggered() |
|
|
|
{ |
|
|
|
web3()->setIdealPeerCount(ui->idealPeers->value()); |
|
|
|
web3()->setNetworkPreferences(netPrefs(), ui->dropPeers->isChecked()); |
|
|
|
ethereum()->setNetworkId(m_privateChain.size() ? sha3(m_privateChain.toStdString()) : h256(u256(42))); |
|
|
|
ethereum()->setNetworkId(m_privateChain.size() ? sha3(m_privateChain.toStdString()) : h256()); |
|
|
|
web3()->startNetwork(); |
|
|
|
ui->downloadView->setDownloadMan(ethereum()->downloadMan()); |
|
|
|
ui->enode->setText(QString::fromStdString(web3()->enode())); |
|
|
|