Skip to content

Commit eb69d06

Browse files
committed
liquid: add discount_vsize and discount_weight to tx display
1 parent 671056c commit eb69d06

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

client/src/views/tx.js

+8
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,14 @@ const txHeader = (tx, { tipHeight, mempool, feeEst, t
161161
<div>{t`Weight units`}</div>
162162
<div>{`${formatNumber(tx.weight)} WU`}</div>
163163
</div>
164+
{ tx.discount_vsize != null && <div>
165+
<div>{t`Discount virtual size`}</div>
166+
<div>{`${formatNumber(tx.discount_vsize)} vB`}</div>
167+
</div> }
168+
{ tx.discount_weight != null && <div>
169+
<div>{t`Discount weight units`}</div>
170+
<div>{`${formatNumber(tx.discount_weight)} WU`}</div>
171+
</div> }
164172
<div>
165173
<div>{t`Version`}</div>
166174
<div>{tx.version}</div>

0 commit comments

Comments
 (0)