wallet: Make CWalletTx "comment" and "to" member variables

Instead of storing "comment" and "to" inside of mapValue, store these
expliclty as members of CWalletTx.
This commit is contained in:
Ava Chow
2025-06-16 13:11:26 -07:00
parent 2155e913d3
commit 7ef8a6efc2
8 changed files with 30 additions and 15 deletions

View File

@@ -393,6 +393,8 @@ struct WalletTx
int64_t time;
std::optional<std::string> from; // Deprecated
std::optional<std::string> message; // Deprecated
std::optional<std::string> comment;
std::optional<std::string> comment_to;
std::map<std::string, std::string> value_map;
bool is_coinbase;