wallet2: fix double header in unsigned transfer file

This commit is contained in:
moneromooo-monero 2018-06-19 22:07:30 +01:00
parent 9226acca4b
commit 2a19697bd4
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -4882,7 +4882,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;