tests: disable wallet SSL init for tests involving wallet2

This commit is contained in:
moneromooo-monero 2019-03-09 09:07:42 +00:00
parent 1d1a02e9f9
commit dc0c0c91c5
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
4 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);

View File

@ -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));