aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2022-01-06 11:29:08 -0500
committerPieter Wuille <pieter@wuille.net>2022-01-06 11:29:55 -0500
commit96ecd6fa3e0f53c3a25eb7c328220b819f8dde03 (patch)
tree3506cd32d7d05afc3813915a2ec90d1bbb93318d /src/test/fuzz
parentc6d15c45d971fb25551b7a66a2615e3f0bee999b (diff)
scripted-diff: rename MapIntoRange to FastRange64
-BEGIN VERIFY SCRIPT- sed -i -e 's/MapIntoRange/FastRange64/' src/blockfilter.cpp src/test/fuzz/golomb_rice.cpp src/util/fastrange.h -END VERIFY SCRIPT-
Diffstat (limited to 'src/test/fuzz')
-rw-r--r--src/test/fuzz/golomb_rice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/golomb_rice.cpp b/src/test/fuzz/golomb_rice.cpp
index 2d0b29953c..b4bb4c6dc6 100644
--- a/src/test/fuzz/golomb_rice.cpp
+++ b/src/test/fuzz/golomb_rice.cpp
@@ -25,7 +25,7 @@ uint64_t HashToRange(const std::vector<uint8_t>& element, const uint64_t f)
const uint64_t hash = CSipHasher(0x0706050403020100ULL, 0x0F0E0D0C0B0A0908ULL)
.Write(element.data(), element.size())
.Finalize();
- return MapIntoRange(hash, f);
+ return FastRange64(hash, f);
}
std::vector<uint64_t> BuildHashedSet(const std::unordered_set<std::vector<uint8_t>, ByteVectorHash>& elements, const uint64_t f)