Skip to content

Commit

Permalink
fix: microblock tx parent burn block time
Browse files Browse the repository at this point in the history
  • Loading branch information
fbwoolf committed Aug 20, 2021
1 parent 845db3e commit 8d0e59b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/transaction-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,9 @@ const transformDataToRowData = (d: Transaction | MempoolTransaction) => {
children: 'Block height',
},
children:
'block_height' in d ? <BlockComponent block={d.block_height} ts={d.burn_block_time} /> : null,
'block_height' in d ? (
<BlockComponent block={d.block_height} ts={d.parent_burn_block_time || d.burn_block_time} />
) : null,
};
const blockHash = {
condition: 'block_hash' in d && typeof d.block_hash !== 'undefined',
Expand Down

0 comments on commit 8d0e59b

Please sign in to comment.