mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[REST] JSON output: remove block infos from tx details if it is nested in block
This commit is contained in:
parent
cae548685d
commit
932ef50f77
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue