Skip to content

Commit fa810e8

Browse files
Fix build
1 parent 9920df9 commit fa810e8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/cpp/daemon/py_monero_daemon.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ class PyMoneroRpcConnection : public monero_rpc_connection {
18661866
const epee::net_utils::http::http_response_info* response = _res.get();
18671867
boost::lock_guard<boost::recursive_mutex> lock(m_mutex);
18681868

1869-
if (!m_http_client->invoke_post(uri, body, timeout, &response)) throw std::runtime_error("Network error");
1869+
if (!m_http_client->invoke(uri, "POST",body, timeout, &response)) throw std::runtime_error("Network error");
18701870

18711871
return response;
18721872
}
@@ -1936,7 +1936,7 @@ class PyMoneroRpcConnection : public monero_rpc_connection {
19361936
std::string m_server;
19371937
boost::optional<epee::net_utils::http::login> m_credentials;
19381938
std::unique_ptr<epee::net_utils::http::abstract_http_client> m_http_client;
1939-
serializable_unordered_map<std::string, std::string> m_attributes;
1939+
std::unordered_map<std::string, std::string> m_attributes;
19401940
boost::optional<bool> m_is_online;
19411941
boost::optional<bool> m_is_authenticated;
19421942
};

src/cpp/wallet/py_monero_wallet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5231,7 +5231,7 @@ class PyMoneroWalletRpc : public PyMoneroWallet {
52315231
std::shared_ptr<PyMoneroWalletPoller> m_poller;
52325232

52335233
mutable boost::recursive_mutex m_sync_mutex;
5234-
serializable_unordered_map<uint32_t, serializable_unordered_map<uint32_t, std::string>> m_address_cache;
5234+
std::unordered_map<uint32_t, std::unordered_map<uint32_t, std::string>> m_address_cache;
52355235

52365236
PyMoneroWalletRpc* create_wallet_random(const std::shared_ptr<PyMoneroWalletConfig> &conf) {
52375237
// validate and normalize config

0 commit comments

Comments
 (0)