Skip to content

Commit

Permalink
chore: remove unused sout
Browse files Browse the repository at this point in the history
  • Loading branch information
ablax committed Aug 8, 2024
1 parent 2b72a68 commit 3b834e1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.limechain.chain.lightsyncstate.Authority;
import com.limechain.chain.lightsyncstate.LightSyncState;
import com.limechain.network.Network;
import com.limechain.network.protocol.warp.dto.WarpSyncFragment;
import com.limechain.polkaj.Hash256;
import com.limechain.storage.block.SyncState;
import com.limechain.sync.warpsync.action.FinishedAction;
Expand All @@ -19,6 +20,7 @@
import java.util.Comparator;
import java.util.List;
import java.util.PriorityQueue;
import java.util.Queue;
import java.util.logging.Level;

@Log
Expand All @@ -28,7 +30,7 @@ public class WarpSyncMachine {

private final PriorityQueue<Pair<BigInteger, Authority[]>> scheduledAuthorityChanges;
private final ChainInformation chainInformation;
// private Queue<WarpSyncFragment> fragmentsQueue;
private Queue<WarpSyncFragment> fragmentsQueue;
private final ChainService chainService;
private WarpSyncAction warpSyncAction;
private final WarpSyncState warpState;
Expand Down Expand Up @@ -62,7 +64,6 @@ public boolean isSyncing() {
public void start() {
if (this.chainService.getChainSpec().getLightSyncState() != null) {
LightSyncState initState = LightSyncState.decode(this.chainService.getChainSpec().getLightSyncState());
System.out.println(initState);
if (this.syncState.getLastFinalizedBlockNumber()
.compareTo(initState.getFinalizedBlockHeader().getBlockNumber()) < 0) {
this.syncState.setLightSyncState(initState);
Expand Down

0 comments on commit 3b834e1

Please sign in to comment.