re-add transaction comments to univalue returns

This commit is contained in:
Gregory Sanders 2017-10-10 11:55:43 -04:00
parent 4b021d6f6c
commit 7e954d1503

View file

@ -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)