Skip to content

Commit e08d628

Browse files
chore: run clang-format
1 parent e5431a4 commit e08d628

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

src/test/util/llmq_tests.h

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
#ifndef BITCOIN_TEST_UTIL_LLMQ_TESTS_H
66
#define BITCOIN_TEST_UTIL_LLMQ_TESTS_H
77

8-
#include <llmq/params.h>
9-
#include <llmq/commitment.h>
10-
#include <llmq/clsig.h>
8+
#include <arith_uint256.h>
119
#include <bls/bls.h>
1210
#include <consensus/params.h>
11+
#include <llmq/clsig.h>
12+
#include <llmq/commitment.h>
13+
#include <llmq/params.h>
1314
#include <primitives/transaction.h>
14-
#include <uint256.h>
15-
#include <arith_uint256.h>
1615
#include <random.h>
17-
#include <streams.h>
1816
#include <serialize.h>
17+
#include <streams.h>
1918
#include <test/util/setup_common.h>
19+
#include <uint256.h>
2020

2121
#include <vector>
2222

@@ -83,7 +83,7 @@ inline std::vector<bool> CreateBitVector(size_t size, const std::vector<size_t>&
8383
}
8484

8585
// Serialization round-trip test helper
86-
template<typename T>
86+
template <typename T>
8787
inline bool TestSerializationRoundtrip(const T& obj)
8888
{
8989
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION);
@@ -100,15 +100,9 @@ inline bool TestSerializationRoundtrip(const T& obj)
100100
}
101101

102102
// Helper to create deterministic test data
103-
inline uint256 GetTestQuorumHash(uint32_t n)
104-
{
105-
return ArithToUint256(arith_uint256(n));
106-
}
103+
inline uint256 GetTestQuorumHash(uint32_t n) { return ArithToUint256(arith_uint256(n)); }
107104

108-
inline uint256 GetTestBlockHash(uint32_t n)
109-
{
110-
return ArithToUint256(arith_uint256(n) << 32);
111-
}
105+
inline uint256 GetTestBlockHash(uint32_t n) { return ArithToUint256(arith_uint256(n) << 32); }
112106

113107
} // namespace testutils
114108
} // namespace llmq

0 commit comments

Comments
 (0)