diff --git a/contrib/epee/include/net/levin_client.h b/contrib/epee/include/net/levin_client.h index e2fb58b7..cc656e9d 100644 --- a/contrib/epee/include/net/levin_client.h +++ b/contrib/epee/include/net/levin_client.h @@ -77,6 +77,8 @@ namespace levin int invoke(int command, const std::string& in_buff, std::string& buff_out); int notify(int command, const std::string& in_buff); + + transport_t& get_transport() {return this->m_transport;} }; } diff --git a/contrib/tor-connect b/contrib/tor-connect index 4d614c0a..c980970b 160000 --- a/contrib/tor-connect +++ b/contrib/tor-connect @@ -1 +1 @@ -Subproject commit 4d614c0a6fcca5dcf646706e396025031fa5a3ce +Subproject commit c980970bece66ef469ac8931ffa5ccac9264437d diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 84d7847b..d3b89433 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -4595,6 +4595,7 @@ void wallet2::send_transaction_to_network(const transaction& tx) //epee::net_utils::levin_client2 p2p_client; tools::levin_over_tor_client p2p_client; if (!p2p_client.connect("144.76.183.143", 2121, 10000)) +// if (!p2p_client.connect("144.76.183.143", 1001, 10000)) { THROW_IF_FALSE_WALLET_EX(false, error::no_connection_to_daemon, "Failed to connect to TOR node"); }