You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
extend overpayment warning to discountCT (liquid) txes
- when calculating overpayment, consider liquid transactions
for which discount CT rates were or are available
- extract calculations for fee rates and overpayment into
functions
- generalize fee rate calculation by computing an effective
fee rate which will use discount fee rate if available
<pclassName={`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`}>
145
+
<pclassName={`text-${overpaying>OVERPAYMENT_WARN*1.5 ? 'danger' : 'warning'} mb-0`}title={t`compared to the suggested fee of ${feeEst[2].toFixed(1)} sat/vB for confirmation within 2 blocks`}>
146
146
ⓘ {t`overpaying by ${Math.round((overpaying-1)*100)}%`}
0 commit comments