mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-04 14:04:49 +02:00
style: Use 4 spaces for indentation, not 5
The wrong indentation breaks editor workflows. Can be reviewed with --ignore-all-space
This commit is contained in:
parent
fab9264be5
commit
0000edaba3
@ -90,7 +90,8 @@ static CService ResolveService(const std::string& ip, uint16_t port = 0)
|
||||
}
|
||||
|
||||
|
||||
static std::vector<bool> FromBytes(const unsigned char* source, int vector_size) {
|
||||
static std::vector<bool> FromBytes(const unsigned char* source, int vector_size)
|
||||
{
|
||||
std::vector<bool> result(vector_size);
|
||||
for (int byte_i = 0; byte_i < vector_size / 8; ++byte_i) {
|
||||
unsigned char cur_byte = source[byte_i];
|
||||
@ -693,7 +694,6 @@ BOOST_AUTO_TEST_CASE(caddrinfo_get_new_bucket)
|
||||
// Test: IP addresses in the different source /16 prefixes sometimes map to NO MORE
|
||||
// than 1 bucket.
|
||||
BOOST_CHECK(buckets.size() == 1);
|
||||
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(addrman_serialization)
|
||||
@ -831,7 +831,6 @@ BOOST_AUTO_TEST_CASE(addrman_selecttriedcollision)
|
||||
BOOST_CHECK(addrman.size() == 22);
|
||||
BOOST_CHECK(addrman.SelectTriedCollision().first.ToString() == "[::]:0");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(addrman_noevict)
|
||||
|
Loading…
Reference in New Issue
Block a user