fuzz_tests: set small subaddress lookahead for speed
This commit is contained in:
parent
5f85cc7e3d
commit
91d97dd4ab
|
@ -54,6 +54,7 @@ int ColdOutputsFuzzer::init()
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
wallet.init("");
|
wallet.init("");
|
||||||
|
wallet.set_subaddress_lookahead(1, 1);
|
||||||
wallet.generate("", "", spendkey, true, false);
|
wallet.generate("", "", spendkey, true, false);
|
||||||
}
|
}
|
||||||
catch (const std::exception &e)
|
catch (const std::exception &e)
|
||||||
|
|
|
@ -55,6 +55,7 @@ int ColdTransactionFuzzer::init()
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
wallet.init("");
|
wallet.init("");
|
||||||
|
wallet.set_subaddress_lookahead(1, 1);
|
||||||
wallet.generate("", "", spendkey, true, false);
|
wallet.generate("", "", spendkey, true, false);
|
||||||
}
|
}
|
||||||
catch (const std::exception &e)
|
catch (const std::exception &e)
|
||||||
|
|
|
@ -55,6 +55,7 @@ int SignatureFuzzer::init()
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
wallet.init("");
|
wallet.init("");
|
||||||
|
wallet.set_subaddress_lookahead(1, 1);
|
||||||
wallet.generate("", "", spendkey, true, false);
|
wallet.generate("", "", spendkey, true, false);
|
||||||
|
|
||||||
cryptonote::address_parse_info info;
|
cryptonote::address_parse_info info;
|
||||||
|
|
Loading…
Reference in New Issue