diff options
| author | Jonas Schnelli <[email protected]> | 2014-12-06 19:09:03 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2014-12-09 16:05:51 +0100 |
| commit | 932ef50f775b5f514941e6ee9dc91d0dcf89321f (patch) | |
| tree | b2285e82431624d6d18019dd9a21823cd777130f /src/rpcblockchain.cpp | |
| parent | [REST] added /rest/block/notxdetails/<hash> into REST-interface.md documentation (diff) | |
| download | discoin-932ef50f775b5f514941e6ee9dc91d0dcf89321f.tar.xz discoin-932ef50f775b5f514941e6ee9dc91d0dcf89321f.zip | |
[REST] JSON output: remove block infos from tx details if it is nested in block
Diffstat (limited to 'src/rpcblockchain.cpp')
| -rw-r--r-- | src/rpcblockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index 778438775..66e86ebac 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -70,7 +70,7 @@ Object blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool txDe if(txDetails) { Object objTx; - TxToJSON(tx, block.GetHash(), objTx); + TxToJSON(tx, uint256(0), objTx); txs.push_back(objTx); } else |