tests: test wallets don't need a dummy temp file anymore

This commit is contained in:
moneromooo-monero 2017-12-19 12:56:21 +00:00
parent 1cc7451130
commit 0e19a39469
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 4 additions and 43 deletions

View file

@ -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"))