diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-19 12:56:21 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-19 12:56:21 +0000 |
commit | 0e19a3946979d2dd4f418dd3a547e70adce5e3b7 (patch) | |
tree | 504ab0234a85db499c03c30e3522a43fb913b0a4 /tests/fuzz/cold-transaction.cpp | |
parent | Merge pull request #2134 (diff) | |
download | monero-0e19a3946979d2dd4f418dd3a547e70adce5e3b7.tar.xz |
tests: test wallets don't need a dummy temp file anymore
Diffstat (limited to 'tests/fuzz/cold-transaction.cpp')
-rw-r--r-- | tests/fuzz/cold-transaction.cpp | 10 |
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) { |