Skip to content

Commit

Permalink
liquid: add discount_vsize and discount_weight to tx display
Browse files Browse the repository at this point in the history
  • Loading branch information
philippem committed Jan 28, 2025
1 parent 671056c commit 6206b67
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/src/views/tx.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,14 @@ const txHeader = (tx, { tipHeight, mempool, feeEst, t
<div>{t`Weight units`}</div>
<div>{`${formatNumber(tx.weight)} WU`}</div>
</div>
{ tx.discount_vsize != null && <div>
<div>{t`Discount virtual size`}</div>
<div>{`${formatNumber(tx.discount_vsize)} vB`}</div>
</div> }
{ tx.discount_weight != null && <div>
<div>{t`Discount weight units`}</div>
<div>{`${formatNumber(tx.discount_weight)} WU`}</div>
</div> }
<div>
<div>{t`Version`}</div>
<div>{tx.version}</div>
Expand Down

0 comments on commit 6206b67

Please sign in to comment.