mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
fuzz_tests: set small subaddress lookahead for speed
This commit is contained in:
parent
5f85cc7e3d
commit
91d97dd4ab
3 changed files with 3 additions and 0 deletions
|
@ -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 a new issue