Skip to content

Commit 932ef50

Browse files
committed
[REST] JSON output: remove block infos from tx details if it is nested in block
1 parent cae5486 commit 932ef50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpcblockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Object blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool txDe
7070
if(txDetails)
7171
{
7272
Object objTx;
73-
TxToJSON(tx, block.GetHash(), objTx);
73+
TxToJSON(tx, uint256(0), objTx);
7474
txs.push_back(objTx);
7575
}
7676
else

0 commit comments

Comments
 (0)