Merge pull request #4028

2a19697b wallet2: fix double header in unsigned transfer file (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-07-03 15:19:24 +02:00
commit 97f5a130d6
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -5048,7 +5048,7 @@ bool wallet2::sign_tx(unsigned_tx_set &exported_txs, const std::string &signed_f
return false;
}
if (!epee::file_io_utils::save_string_to_file(signed_filename, std::string(SIGNED_TX_PREFIX) + ciphertext))
if (!epee::file_io_utils::save_string_to_file(signed_filename, ciphertext))
{
LOG_PRINT_L0("Failed to save file to " << signed_filename);
return false;