From 89c841ba7db95f6c2160a2c5e20dc43d97e54a97 Mon Sep 17 00:00:00 2001 From: He1DAr Date: Mon, 25 Nov 2024 10:55:23 -0500 Subject: [PATCH] feat: use block time in tx page --- src/app/txid/[txId]/TxDetails/BlockHeight.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/txid/[txId]/TxDetails/BlockHeight.tsx b/src/app/txid/[txId]/TxDetails/BlockHeight.tsx index 7dd981945..9145dc12d 100644 --- a/src/app/txid/[txId]/TxDetails/BlockHeight.tsx +++ b/src/app/txid/[txId]/TxDetails/BlockHeight.tsx @@ -23,7 +23,7 @@ function BlockHeightBase({ tx }: { tx: Transaction | MempoolTransaction }) { if (isInMempool(tx) || isInMicroblock(tx)) return null; - const ts = tx.burn_block_time; + const ts = tx.block_time || tx.burn_block_time; if (!ts) return null; const readableTs = `${new Date(ts * 1000).toLocaleTimeString()} ${new Date(