mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00: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:
parent
fa5697127f
commit
a36c261d7a
3 changed files with 48 additions and 8 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue