mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
add (non-final) suffix to fee rate field when tx is lacking signatures
This commit is contained in:
parent
7b9b78684c
commit
f8023e9a72
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ public class HeadersController extends TransactionFormController implements Init
|
||||||
private void updateFee(Long feeAmt) {
|
private void updateFee(Long feeAmt) {
|
||||||
fee.setValue(feeAmt);
|
fee.setValue(feeAmt);
|
||||||
double feeRateAmt = feeAmt.doubleValue() / headersForm.getTransaction().getVirtualSize();
|
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) {
|
private void updateBlockchainForm(BlockTransaction blockTransaction, Integer currentHeight) {
|
||||||
|
|
Loading…
Reference in a new issue