mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
rename max block size constant for clarity
This commit is contained in:
parent
e92d0f9b58
commit
e7510d2275
2 changed files with 2 additions and 2 deletions
2
drongo
2
drongo
|
|
@ -1 +1 @@
|
|||
Subproject commit 3cb3d322a0e1d821aea195d34c6ac9af89ed38b8
|
||||
Subproject commit 7b9affb3de635de998ae11f542fdd4ebb9ba2b53
|
||||
|
|
@ -460,7 +460,7 @@ public class EntryCell extends TreeTableCell<Entry, Entry> implements Confirmati
|
|||
Double feeRate = transactionEntry.getBlockTransaction().getFeeRate();
|
||||
Long vSizefromTip = transactionEntry.getVSizeFromTip();
|
||||
if(feeRate != null && vSizefromTip != null) {
|
||||
long blocksFromTip = (long)Math.ceil((double)vSizefromTip / Transaction.MAX_BLOCK_SIZE);
|
||||
long blocksFromTip = (long)Math.ceil((double)vSizefromTip / Transaction.MAX_BLOCK_SIZE_VBYTES);
|
||||
|
||||
String amount = vSizefromTip + " vB";
|
||||
if(vSizefromTip > 1000 * 1000) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue