1
0
Fork 0
forked from lthn/blockchain

another attempt to fix #152

This commit is contained in:
sowle 2020-06-12 16:36:38 +03:00
parent 1fcaccf61b
commit e1ee3ffd19
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -544,6 +544,12 @@ void wallet2::prepare_wti_decrypted_attachments(wallet_public::wallet_transfer_i
{
PROFILE_FUNC("wallet2::prepare_wti_decrypted_attachments");
if (!wti.payment_id.empty())
{
LOG_ERROR("wti.payment_id is expected to be empty. Go ahead.");
}
get_payment_id_from_tx(decrypted_att, wti.payment_id);
if (wti.is_income)
{
account_public_address sender_address = AUTO_VAL_INIT(sender_address);