diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 095871ee98..c9670c1136 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -146,6 +146,11 @@ void WalletTxToJSON(const CWalletTx& wtx, UniValue& entry) rbfStatus = "yes"; } entry.push_back(Pair("bip125-replaceable", rbfStatus)); + + // Push transaction comments + entry.push_back(Pair("comment", wtx.mapValue["comment"])); + entry.push_back(Pair("to", wtx.mapValue["to"])); + } string AccountFromValue(const UniValue& value)