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;