mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-11 18:44:40 +01:00
TxImportDialog: change daemon rpc network if connected to local node
This commit is contained in:
@@ -93,3 +93,7 @@ QString DaemonRpc::onSendRawTransactionFailed(const QJsonObject &obj) {
|
||||
void DaemonRpc::setDaemonAddress(const QString &daemonAddress) {
|
||||
m_daemonAddress = daemonAddress;
|
||||
}
|
||||
|
||||
void DaemonRpc::setNetwork(QNetworkAccessManager *network) {
|
||||
m_network = new UtilsNetworking(network, this);
|
||||
}
|
||||
@@ -33,6 +33,7 @@ public:
|
||||
void getTransactions(const QStringList &txs_hashes, bool decode_as_json = false, bool prune = false);
|
||||
|
||||
void setDaemonAddress(const QString &daemonAddress);
|
||||
void setNetwork(QNetworkAccessManager *network);
|
||||
|
||||
signals:
|
||||
void ApiResponse(DaemonResponse resp);
|
||||
|
||||
Reference in New Issue
Block a user