mirror of
https://github.com/monero-project/monero.git
synced 2026-01-19 11:03:02 +01:00
fuzz_tests: set small subaddress lookahead for speed
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user