aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/cold-transaction.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-02 00:30:33 +0200
committerRiccardo Spagni <ric@spagni.net>2018-01-02 00:30:33 +0200
commit753215b9c629b17bd92d8a670cf0c1f773b3141f (patch)
tree7c045e5571fd07661cbc1c7abeccef0769eefd2e /tests/fuzz/cold-transaction.cpp
parentMerge pull request #2962 (diff)
parenttests: test wallets don't need a dummy temp file anymore (diff)
downloadmonero-753215b9c629b17bd92d8a670cf0c1f773b3141f.tar.xz
Merge pull request #2963
0e19a394 tests: test wallets don't need a dummy temp file anymore (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--tests/fuzz/cold-transaction.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/fuzz/cold-transaction.cpp b/tests/fuzz/cold-transaction.cpp
index f0b4b26d6..20715c9ed 100644
--- a/tests/fuzz/cold-transaction.cpp
+++ b/tests/fuzz/cold-transaction.cpp
@@ -54,16 +54,8 @@ int ColdTransactionFuzzer::init()
try
{
- boost::filesystem::remove("/tmp/cold-transaction-test.keys");
- boost::filesystem::remove("/tmp/cold-transaction-test.address.txt");
- boost::filesystem::remove("/tmp/cold-transaction-test");
-
wallet.init("");
- wallet.generate("/tmp/cold-transaction-test", "", spendkey, true, false);
-
- boost::filesystem::remove("/tmp/cold-transaction-test.keys");
- boost::filesystem::remove("/tmp/cold-transaction-test.address.txt");
- boost::filesystem::remove("/tmp/cold-transaction-test");
+ wallet.generate("", "", spendkey, true, false);
}
catch (const std::exception &e)
{