mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
wallet: Make CWalletTx "from" and "message" member variables
Instead of storing "from" and "message" inside of mapValue, store these explicitly as members of CWalletTx.
This commit is contained in:
@@ -391,6 +391,8 @@ struct WalletTx
|
||||
CAmount debit;
|
||||
CAmount change;
|
||||
int64_t time;
|
||||
std::optional<std::string> from; // Deprecated
|
||||
std::optional<std::string> message; // Deprecated
|
||||
std::map<std::string, std::string> value_map;
|
||||
bool is_coinbase;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user