diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-12-06 19:09:03 +0100 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-12-09 16:05:51 +0100 |
commit | 932ef50f775b5f514941e6ee9dc91d0dcf89321f (patch) | |
tree | b2285e82431624d6d18019dd9a21823cd777130f | |
parent | cae548685dc26c3be823f132ab88947175d19af6 (diff) |
[REST] JSON output: remove block infos from tx details if it is nested in block
-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 7784387756..66e86ebace 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 |