mirror of
https://github.com/monero-project/monero.git
synced 2025-08-11 12:40:14 -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
|
@ -54,16 +54,8 @@ int SignatureFuzzer::init()
|
|||
|
||||
try
|
||||
{
|
||||
boost::filesystem::remove("/tmp/signature-test.keys");
|
||||
boost::filesystem::remove("/tmp/signature-test.address.txt");
|
||||
boost::filesystem::remove("/tmp/signature-test");
|
||||
|
||||
wallet.init("");
|
||||
wallet.generate("/tmp/signature-test", "", spendkey, true, false);
|
||||
|
||||
boost::filesystem::remove("/tmp/signature-test.keys");
|
||||
boost::filesystem::remove("/tmp/signature-test.address.txt");
|
||||
boost::filesystem::remove("/tmp/signature-test");
|
||||
wallet.generate("", "", spendkey, true, false);
|
||||
|
||||
cryptonote::address_parse_info info;
|
||||
if (!cryptonote::get_account_address_from_str_or_url(info, true, "9uVsvEryzpN8WH2t1WWhFFCG5tS8cBNdmJYNRuckLENFimfauV5pZKeS1P2CbxGkSDTUPHXWwiYE5ZGSXDAGbaZgDxobqDN"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue