Skip to content

Commit 084bb62

Browse files
committed
chore: clang-format
1 parent ce506bc commit 084bb62

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/evo/deterministicmns.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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);

src/evo/specialtxman.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ class CSpecialTxProcessor
8282
// Variant that takes an explicit starting list instead of loading from GetListForBlock
8383
// Used for rebuilding diffs from trusted snapshots
8484
bool RebuildListFromBlock(const CBlock& block, gsl::not_null<const CBlockIndex*> pindexPrev,
85-
const CDeterministicMNList& prevList, const CCoinsViewCache& view, bool debugLogs,
86-
BlockValidationState& state, CDeterministicMNList& mnListRet);
85+
const CDeterministicMNList& prevList, const CCoinsViewCache& view, bool debugLogs,
86+
BlockValidationState& state, CDeterministicMNList& mnListRet);
8787

8888
private:
8989
bool CheckCreditPoolDiffForBlock(const CBlock& block, const CBlockIndex* pindex, const CCbTx& cbTx,

0 commit comments

Comments
 (0)