Always include tx comment in decoded responses
This commit is contained in:
parent
13cff3fdff
commit
881cccb780
@ -204,9 +204,7 @@ void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry,
|
||||
}
|
||||
entry.pushKV("vout", vout);
|
||||
|
||||
if (tx.nVersion >= 2) {
|
||||
entry.pushKV("tx-comment", tx.strTxComment);
|
||||
}
|
||||
entry.pushKV("tx-comment", tx.strTxComment);
|
||||
|
||||
if (!hashBlock.IsNull())
|
||||
entry.pushKV("blockhash", hashBlock.GetHex());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user