fuzz_tests: set small subaddress lookahead for speed

This commit is contained in:
moneromooo-monero 2018-03-01 14:16:51 +00:00
parent 5f85cc7e3d
commit 91d97dd4ab
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
3 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,7 @@ int ColdOutputsFuzzer::init()
try
{
wallet.init("");
wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
}
catch (const std::exception &e)

View File

@ -55,6 +55,7 @@ int ColdTransactionFuzzer::init()
try
{
wallet.init("");
wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
}
catch (const std::exception &e)

View File

@ -55,6 +55,7 @@ int SignatureFuzzer::init()
try
{
wallet.init("");
wallet.set_subaddress_lookahead(1, 1);
wallet.generate("", "", spendkey, true, false);
cryptonote::address_parse_info info;