aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/multisig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/multisig.cpp')
-rw-r--r--tests/unit_tests/multisig.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/unit_tests/multisig.cpp b/tests/unit_tests/multisig.cpp
index 2fb201d82..8a94012e5 100644
--- a/tests/unit_tests/multisig.cpp
+++ b/tests/unit_tests/multisig.cpp
@@ -59,20 +59,10 @@ static void make_wallet(unsigned int idx, tools::wallet2 &wallet)
crypto::secret_key spendkey;
epee::string_tools::hex_to_pod(test_addresses[idx].spendkey, spendkey);
- std::string basename = "/tmp/multisig-unit-test-" + std::to_string(idx);
try
{
- boost::filesystem::remove(basename + ".keys");
- boost::filesystem::remove(basename + ".address.txt");
- boost::filesystem::remove(basename);
-
wallet.init("");
- wallet.generate(basename, "", spendkey, true, false);
-
- boost::filesystem::remove(basename + ".keys");
- boost::filesystem::remove(basename + ".address.txt");
- boost::filesystem::remove(basename);
-
+ wallet.generate("", "", spendkey, true, false);
ASSERT_TRUE(test_addresses[idx].address == wallet.get_account().get_public_address_str(true));
}
catch (const std::exception &e)