build: restore truncated checkpoints.cpp tail (committed 6defb54 was cut off mid-function)

This commit is contained in:
Sami
2026-06-15 14:32:33 -07:00
parent b9ce72d39a
commit 2e19d85b18
+7 -1
View File
@@ -442,4 +442,10 @@ bool CSyncCheckpoint::ProcessSyncCheckpoint(CNode* pfrom)
}
if (!Checkpoints::WriteSyncCheckpoint(hashCheckpoint))
return error("ProcessSyncCheckpoint(
return error("ProcessSyncCheckpoint(): failed to write sync checkpoint %s", hashCheckpoint.ToString().c_str());
Checkpoints::checkpointMessage = *this;
Checkpoints::hashPendingCheckpoint = 0;
Checkpoints::checkpointMessagePending.SetNull();
printf("ProcessSyncCheckpoint: sync-checkpoint at %s\n", hashCheckpoint.ToString().c_str());
return true;
}