tests: disable wallet SSL init for tests involving wallet2

release-v0.6.1.2
moneromooo-monero 5 years ago
parent 1d1a02e9f9
commit dc0c0c91c5
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -53,7 +53,7 @@ int ColdOutputsFuzzer::init()
try
{
wallet.init("");
wallet.init("", boost::none, 0, true, epee::net_utils::ssl_support_t::e_ssl_support_disabled);
wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
}

@ -54,7 +54,7 @@ int ColdTransactionFuzzer::init()
try
{
wallet.init("");
wallet.init("", boost::none, 0, true, epee::net_utils::ssl_support_t::e_ssl_support_disabled);
wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
}

@ -54,7 +54,7 @@ int SignatureFuzzer::init()
try
{
wallet.init("");
wallet.init("", boost::none, 0, true, epee::net_utils::ssl_support_t::e_ssl_support_disabled);
wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);

@ -71,7 +71,7 @@ static void make_wallet(unsigned int idx, tools::wallet2 &wallet)
try
{
wallet.init("");
wallet.init("", boost::none, 0, true, epee::net_utils::ssl_support_t::e_ssl_support_disabled);
wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
ASSERT_TRUE(test_addresses[idx].address == wallet.get_account().get_public_address_str(cryptonote::TESTNET));

Loading…
Cancel
Save