This commit is contained in:
woodser
2019-07-06 16:21:24 -04:00
parent 28b413686f
commit c7af9074d2
3 changed files with 2 additions and 4 deletions
+1
View File
@@ -867,6 +867,7 @@ namespace monero {
}
shared_ptr<MoneroRpcConnection> MoneroWallet::getDaemonConnection() const {
cout << "MoneroWallet::getDaemonConnection()" << endl;
if (wallet2->get_daemon_address().empty()) return nullptr;
shared_ptr<MoneroRpcConnection> connection = shared_ptr<MoneroRpcConnection>(new MoneroRpcConnection());
if (!wallet2->get_daemon_address().empty()) connection->uri = wallet2->get_daemon_address();