mirror of
https://github.com/monero-project/monero.git
synced 2026-01-03 00:11:19 -08:00
wallet2: fix slow multisig unit tests with subaddress patch
While there, move the wallet2 ctor to the cpp file as it's a huge amount of init list now, and remove an unused one.
This commit is contained in:
@@ -62,6 +62,7 @@ static void make_wallet(unsigned int idx, tools::wallet2 &wallet)
|
||||
try
|
||||
{
|
||||
wallet.init("");
|
||||
wallet.set_subaddress_lookahead(1, 1);
|
||||
wallet.generate("", "", spendkey, true, false);
|
||||
ASSERT_TRUE(test_addresses[idx].address == wallet.get_account().get_public_address_str(true));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user