1
0
Fork 0
forked from lthn/blockchain

current state stored before branch switch

This commit is contained in:
cryptozoidberg 2022-01-13 14:08:21 +01:00
parent 5446ccf7d3
commit bd797f6514
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -4592,9 +4592,9 @@ void wallet2::send_transaction_to_network(const transaction& tx)
#define ENABLE_TOR_RELAY
#ifdef ENABLE_TOR_RELAY
//TODO check that core synchronized
//epee::net_utils::levin_client2 p2p_client;
tools::levin_over_tor_client p2p_client;
if (!p2p_client.connect("144.76.183.143", P2P_DEFAULT_PORT, 100000))
epee::net_utils::levin_client2 p2p_client;
//tools::levin_over_tor_client p2p_client;
if (!p2p_client.connect("144.76.183.143", 2121, 100000))
{
THROW_IF_FALSE_WALLET_EX(false, error::no_connection_to_daemon, "Failed to connect to TOR node");
}