diff options
| author | Andrew Chow <[email protected]> | 2017-08-11 12:21:14 -0700 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2017-08-17 10:42:51 -0700 |
| commit | 6bbdafcdc4f9d9e3f9de72ed686c060fb4b8b465 (patch) | |
| tree | 2a3cabde520fbe74bde9f434f4a1d724840c73f8 /src/rpc/blockchain.cpp | |
| parent | Only return hex field once in getrawtransaction (diff) | |
| download | discoin-6bbdafcdc4f9d9e3f9de72ed686c060fb4b8b465.tar.xz discoin-6bbdafcdc4f9d9e3f9de72ed686c060fb4b8b465.zip | |
Pass serialization flags and whether to include hex to TxToUniv
Diffstat (limited to 'src/rpc/blockchain.cpp')
| -rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index d65e107e3..f3c65a2e0 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -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 |