mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 09:06:04 -04:00
tests: test wallets don't need a dummy temp file anymore
This commit is contained in:
parent
1cc7451130
commit
0e19a39469
4 changed files with 4 additions and 43 deletions
|
@ -53,16 +53,8 @@ int ColdOutputsFuzzer::init()
|
|||
|
||||
try
|
||||
{
|
||||
boost::filesystem::remove("/tmp/cold-outputs-test.keys");
|
||||
boost::filesystem::remove("/tmp/cold-outputs-test.address.txt");
|
||||
boost::filesystem::remove("/tmp/cold-outputs-test");
|
||||
|
||||
wallet.init("");
|
||||
wallet.generate("/tmp/cold-outputs-test", "", spendkey, true, false);
|
||||
|
||||
boost::filesystem::remove("/tmp/cold-outputs-test.keys");
|
||||
boost::filesystem::remove("/tmp/cold-outputs-test.address.txt");
|
||||
boost::filesystem::remove("/tmp/cold-outputs-test");
|
||||
wallet.generate("", "", spendkey, true, false);
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue