void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry)
{
- entry.pushKV("txid", tx.GetTxid().GetHex());
+ entry.pushKV("txid", tx.GetHash().GetHex());
entry.pushKV("version", tx.nVersion);
entry.pushKV("locktime", (int64_t)tx.nLockTime);