Skip to content

Commit b87dcde

Browse files
committed
display 2 decimals for fee rate (up from 1)
1 parent 8e8a15d commit b87dcde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/views/tx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const txHeader = (tx, { tipHeight, mempool, feeEst, t
140140
{ feerate != null && <div>
141141
<div>{t`Transaction fees`}</div>
142142
<div>
143-
<span className="amount">{t`${formatSat(tx.fee)} (${feerate.toFixed(1)} sat/vB)`}</span>
143+
<span className="amount">{t`${formatSat(tx.fee)} (${feerate.toFixed(2)} sat/vB)`}</span>
144144
{ overpaying > OVERPAYMENT_WARN &&
145145
<p className={`text-${ overpaying > OVERPAYMENT_WARN*1.5 ? 'danger' : 'warning' } mb-0`} title={t`compared to bitcoind's suggested fee of ${feeEst[2].toFixed(1)} sat/vB for confirmation within 2 blocks`}>
146146
{t`overpaying by ${Math.round((overpaying-1)*100)}%`}

0 commit comments

Comments
 (0)