diff --git a/src/pages/transactions/[txid].page.tsx b/src/pages/transactions/[txid].page.tsx index 245cfbf24..a4a64e709 100644 --- a/src/pages/transactions/[txid].page.tsx +++ b/src/pages/transactions/[txid].page.tsx @@ -70,7 +70,9 @@ export default function TransactionPage( const dftx: DfTx | undefined = getDfTx(props.vouts); const isDeFiTransaction = dftx !== undefined; const fee = getTransactionFee(props.transaction, props.vins, dftx); - const feeRate = fee.multipliedBy(100000000).dividedBy(props.transaction.size); + const feeRate = fee + .multipliedBy(100000000) + .dividedBy(props.transaction.vSize); return ( <> diff --git a/src/pages/transactions/_components/TransactionSummaryTable.tsx b/src/pages/transactions/_components/TransactionSummaryTable.tsx index c6d4b98c6..5d34ac98c 100644 --- a/src/pages/transactions/_components/TransactionSummaryTable.tsx +++ b/src/pages/transactions/_components/TransactionSummaryTable.tsx @@ -128,6 +128,9 @@ function SummaryTableListRight(props: { {props.transaction.size} bytes + + {props.transaction.vSize} bytes +