add (non-final) suffix to fee rate field when tx is lacking signatures

This commit is contained in:
Craig Raw 2021-04-16 14:05:53 +02:00
parent 7b9b78684c
commit f8023e9a72

View file

@ -489,7 +489,7 @@ public class HeadersController extends TransactionFormController implements Init
private void updateFee(Long feeAmt) {
fee.setValue(feeAmt);
double feeRateAmt = feeAmt.doubleValue() / headersForm.getTransaction().getVirtualSize();
feeRate.setText(String.format("%.2f", feeRateAmt) + " sats/vByte");
feeRate.setText(String.format("%.2f", feeRateAmt) + " sats/vByte" + (headersForm.isTransactionFinalized() ? "" : " (non-final)"));
}
private void updateBlockchainForm(BlockTransaction blockTransaction, Integer currentHeight) {