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