Pass serialization flags and whether to include hex to TxToUniv

This commit is contained in:
Andrew Chow
2017-08-11 12:21:14 -07:00
parent e029c6e709
commit 6bbdafcdc4
4 changed files with 8 additions and 6 deletions

View File

@@ -125,7 +125,7 @@ UniValue blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool tx
if(txDetails)
{
UniValue objTx(UniValue::VOBJ);
TxToUniv(*tx, uint256(), objTx);
TxToUniv(*tx, uint256(), objTx, true, RPCSerializationFlags());
txs.push_back(objTx);
}
else