Skip to content

Commit 542ac80

Browse files
UdjinM6ogabrielides
authored andcommitted
refactor: more clang-format
1 parent 03814d7 commit 542ac80

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Diff for: src/llmq/snapshot.cpp

+3-5
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,7 @@ bool BuildQuorumRotationInfo(CDeterministicMNManager& dmnman, CQuorumSnapshotMan
324324
}
325325
baseBlockIndexes.push_back(pWorkBlockHIndex);
326326

327-
if (!BuildSimplifiedMNListDiff(dmnman, chainman, qblockman, qman,
328-
GetLastBaseBlockHash(baseBlockIndexes, tipBlockIndex),
327+
if (!BuildSimplifiedMNListDiff(dmnman, chainman, qblockman, qman, GetLastBaseBlockHash(baseBlockIndexes, tipBlockIndex),
329328
tipBlockIndex->GetBlockHash(), response.mnListDiffTip, errorRet)) {
330329
return false;
331330
}
@@ -336,9 +335,8 @@ bool BuildQuorumRotationInfo(CDeterministicMNManager& dmnman, CQuorumSnapshotMan
336335
uint256 GetLastBaseBlockHash(Span<const CBlockIndex*> baseBlockIndexes, const CBlockIndex* blockIndex)
337336
{
338337
uint256 hash;
339-
std::sort(baseBlockIndexes.begin(), baseBlockIndexes.end(), [](const CBlockIndex* a, const CBlockIndex* b) {
340-
return a->nHeight < b->nHeight;
341-
});
338+
std::sort(baseBlockIndexes.begin(), baseBlockIndexes.end(),
339+
[](const CBlockIndex* a, const CBlockIndex* b) { return a->nHeight < b->nHeight; });
342340
for (const auto baseBlock : baseBlockIndexes) {
343341
if (baseBlock->nHeight >= blockIndex->nHeight)
344342
break;

0 commit comments

Comments
 (0)