|
|
@ -1023,7 +1023,7 @@ void RPCConsole::updateDetailWidget()
|
|
|
|
const auto stats = selected_peers.first().data(PeerTableModel::StatsRole).value<CNodeCombinedStats*>();
|
|
|
|
const auto stats = selected_peers.first().data(PeerTableModel::StatsRole).value<CNodeCombinedStats*>();
|
|
|
|
// update the detail ui with latest node information
|
|
|
|
// update the detail ui with latest node information
|
|
|
|
QString peerAddrDetails(QString::fromStdString(stats->nodeStats.addrName) + " ");
|
|
|
|
QString peerAddrDetails(QString::fromStdString(stats->nodeStats.addrName) + " ");
|
|
|
|
peerAddrDetails += tr("(peer id: %1)").arg(QString::number(stats->nodeStats.nodeid));
|
|
|
|
peerAddrDetails += tr("(peer: %1)").arg(QString::number(stats->nodeStats.nodeid));
|
|
|
|
if (!stats->nodeStats.addrLocal.empty())
|
|
|
|
if (!stats->nodeStats.addrLocal.empty())
|
|
|
|
peerAddrDetails += "<br />" + tr("via %1").arg(QString::fromStdString(stats->nodeStats.addrLocal));
|
|
|
|
peerAddrDetails += "<br />" + tr("via %1").arg(QString::fromStdString(stats->nodeStats.addrLocal));
|
|
|
|
ui->peerHeading->setText(peerAddrDetails);
|
|
|
|
ui->peerHeading->setText(peerAddrDetails);
|
|
|
|