We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfe8076 + ed7da99 commit 06448a1Copy full SHA for 06448a1
DashSync/shared/Models/Managers/Chain Managers/DSPeerManager.m
@@ -938,6 +938,7 @@ - (void)peerConnected:(DSPeer *)peer {
938
}
939
bestPeer.currentBlockHeight = self.chain.lastSyncBlockHeight;
940
941
+ [self.chainManager assignSyncWeights];
942
if ([self.chain syncsBlockchain] && ((self.chain.lastSyncBlockHeight != self.chain.lastTerminalBlockHeight) || (self.chain.lastSyncBlockHeight < bestPeer.lastBlockHeight))) { // start blockchain sync
943
[self.chainManager resetLastRelayedItemTime];
944
dispatch_async(dispatch_get_main_queue(), ^{ // setup a timer to detect if the sync stalls
0 commit comments