Multibroadcast: broadcast to selected list

This commit is contained in:
tobtoht
2022-02-23 22:29:33 +01:00
parent e2baf86c94
commit dac8769e7e
3 changed files with 7 additions and 3 deletions
+1 -3
View File
@@ -145,9 +145,7 @@ void AppContext::onMultiBroadcast(PendingTransaction *tx) {
for (quint64 i = 0; i < count; i++) {
QString txData = tx->signedTxToHex(i);
for (const auto& node: this->nodes->websocketNodes()) {
if (!node.online) continue;
for (const auto& node: this->nodes->nodes()) {
QString address = node.toURL();
qDebug() << QString("Relaying %1 to: %2").arg(tx->txid()[i], address);
m_rpc->setDaemonAddress(address);