mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-13 22:41:25 +02:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user