diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-21 18:31:30 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-17 16:12:30 +0000 |
commit | a36c261d7adc9bef61730a581fe92c0edc72ddce (patch) | |
tree | f633d2f295f589a863acd1f087a730211ad4285b /tests/unit_tests | |
parent | make multisig work with subaddresses (diff) | |
download | monero-a36c261d7adc9bef61730a581fe92c0edc72ddce.tar.xz |
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.
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/multisig.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/multisig.cpp b/tests/unit_tests/multisig.cpp index aab1ce420..8b2c7e5f8 100644 --- a/tests/unit_tests/multisig.cpp +++ b/tests/unit_tests/multisig.cpp @@ -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)); } |