@@ -740,10 +740,10 @@ class CDeterministicMNManager
740740 BlockValidationState& state,
741741 CDeterministicMNList& mnListRet)>;
742742
743- [[nodiscard]] RecalcDiffsResult RecalculateAndRepairDiffs (
744- const CBlockIndex* start_index, const CBlockIndex* stop_index,
745- ChainstateManager& chainman, BuildListFromBlockFunc build_list_func,
746- bool repair) EXCLUSIVE_LOCKS_REQUIRED(!cs);
743+ [[nodiscard]] RecalcDiffsResult RecalculateAndRepairDiffs (const CBlockIndex* start_index,
744+ const CBlockIndex* stop_index, ChainstateManager& chainman ,
745+ BuildListFromBlockFunc build_list_func, bool repair)
746+ EXCLUSIVE_LOCKS_REQUIRED(!cs);
747747
748748 // Migration support for nVersion-first CDeterministicMNStateDiff format
749749 [[nodiscard]] bool IsMigrationRequired () const EXCLUSIVE_LOCKS_REQUIRED(!cs, ::cs_main);
@@ -755,9 +755,10 @@ class CDeterministicMNManager
755755
756756 // Helper methods for RecalculateAndRepairDiffs
757757 std::vector<const CBlockIndex*> CollectSnapshotBlocks (const CBlockIndex* start_index, const CBlockIndex* stop_index,
758- const Consensus::Params& consensus_params);
759- bool VerifySnapshotPair (const CBlockIndex* from_index, const CBlockIndex* to_index, const CDeterministicMNList& from_snapshot,
760- const CDeterministicMNList& to_snapshot, RecalcDiffsResult& result);
758+ const Consensus::Params& consensus_params);
759+ bool VerifySnapshotPair (const CBlockIndex* from_index, const CBlockIndex* to_index,
760+ const CDeterministicMNList& from_snapshot, const CDeterministicMNList& to_snapshot,
761+ RecalcDiffsResult& result);
761762 std::vector<std::pair<uint256, CDeterministicMNListDiff>> RepairSnapshotPair (
762763 const CBlockIndex* from_index, const CBlockIndex* to_index, const CDeterministicMNList& from_snapshot,
763764 const CDeterministicMNList& to_snapshot, BuildListFromBlockFunc build_list_func, RecalcDiffsResult& result);
0 commit comments