mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-03-26 01:32:25 +01:00
add (non-final) suffix to fee rate field when tx is lacking signatures
This commit is contained in:
parent
7b9b78684c
commit
f8023e9a72
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user