From 06d65534730252b50e828cb5585e41eba6fa32b0 Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 22 Jul 2025 14:57:02 +0300 Subject: [PATCH] tx_comment is temporary disabled --- src/wallet/wallet_rpc_server.cpp | 7 ++++--- src/wallet/wallets_manager.cpp | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index f49a5d3d..d3a4e5b9 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -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) diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index e9866fef..4043708c 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -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) {