style: run clang-format

This commit is contained in:
pasta 2024-07-24 13:50:17 -05:00 committed by Konstantin Akimov
parent 567d629e42
commit 859b9ad28f
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -114,17 +114,13 @@ struct LLMQParams {
// How many members should we try to send all sigShares to before we give up.
int recoveryMembers;
public:
[[nodiscard]] constexpr int max_cycles(int quorums_count) const
{
return useRotation ? quorums_count / signingActiveQuorumCount : quorums_count;
}
// For how many blocks recent DKG info should be kept
[[nodiscard]] constexpr int max_store_depth() const
{
return max_cycles(keepOldKeys) * dkgInterval;
}
[[nodiscard]] constexpr int max_store_depth() const { return max_cycles(keepOldKeys) * dkgInterval; }
};
//static_assert(std::is_trivial_v<Consensus::LLMQParams>, "LLMQParams is not a trivial type");