mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-11-19 22:53:59 +01:00
cleanup
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user