1
0
Fork 0
forked from lthn/blockchain

tx_comment is temporary disabled

This commit is contained in:
sowle 2025-07-22 14:57:02 +03:00
parent 2c920287d3
commit 06d6553473
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 8 additions and 6 deletions

View file

@ -523,9 +523,10 @@ namespace tools
if (!req.comment.empty())
{
currency::tx_comment comment = AUTO_VAL_INIT(comment);
comment.comment = req.comment;
attachments.push_back(comment);
// tx_comment is temporary disabled -- sowle
//currency::tx_comment comment = AUTO_VAL_INIT(comment);
//comment.comment = req.comment;
//attachments.push_back(comment);
}
if (req.push_payer && !wrap)

View file

@ -1615,9 +1615,10 @@ std::string wallets_manager::transfer(uint64_t wallet_id, const view::transfer_p
//process attachments
if (tp.comment.size())
{
currency::tx_comment tc = AUTO_VAL_INIT(tc);
tc.comment = tp.comment;
extra.push_back(tc);
// tx_comment is temporary disabled -- sowle
//currency::tx_comment tc = AUTO_VAL_INIT(tc);
//tc.comment = tp.comment;
//extra.push_back(tc);
}
if (tp.push_payer && !wrap)
{