Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13711101
D4362.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
933 B
Subscribers
None
D4362.id.diff
View Options
diff --git a/contrib/teamcity/build-configurations.sh b/contrib/teamcity/build-configurations.sh
--- a/contrib/teamcity/build-configurations.sh
+++ b/contrib/teamcity/build-configurations.sh
@@ -4,7 +4,7 @@
set -euxo pipefail
-: ${ABC_BUILD_NAME:=""}
+: "${ABC_BUILD_NAME:=""}"
if [ -z "$ABC_BUILD_NAME" ]; then
echo "Error: Environment variable ABC_BUILD_NAME must be set"
exit 1
diff --git a/src/addrman.cpp b/src/addrman.cpp
--- a/src/addrman.cpp
+++ b/src/addrman.cpp
@@ -12,8 +12,8 @@
#include <cmath>
int CAddrInfo::GetTriedBucket(const uint256 &nKey) const {
- uint64_t hash1 = (CHashWriter(SER_GETHASH, 0) << nKey << GetKey())
- .GetCheapHash();
+ uint64_t hash1 =
+ (CHashWriter(SER_GETHASH, 0) << nKey << GetKey()).GetCheapHash();
uint64_t hash2 =
(CHashWriter(SER_GETHASH, 0)
<< nKey << GetGroup() << (hash1 % ADDRMAN_TRIED_BUCKETS_PER_GROUP))
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 26, 10:32 (1 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5572958
Default Alt Text
D4362.id.diff (933 B)
Attached To
D4362: Fix various linter issues
Event Timeline
Log In to Comment