mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
tweak fix on recent blocks view
This commit is contained in:
parent
276f8b4148
commit
77c305f90b
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ public class RecentBlocksView extends Pane {
|
|||
if(latestTip > knownTip) {
|
||||
addNewBlock(latestBlocks, currentFeeRate);
|
||||
} else {
|
||||
for(int i = 1; i < getCubes().size() && i < latestBlocks.size(); i++) {
|
||||
for(int i = 1; i < getCubes().size() && i <= latestBlocks.size(); i++) {
|
||||
BlockCube blockCube = getCubes().get(i);
|
||||
BlockSummary latestBlock = latestBlocks.get(i - 1);
|
||||
blockCube.setConfirmed(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue