Merge pull request #5274

dc0c0c91 tests: disable wallet SSL init for tests involving wallet2 (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-03-24 19:35:11 +02:00
commit 37ee4acf48
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
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));