aboutsummaryrefslogtreecommitdiff
path: root/src/util/bytevectorhash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/bytevectorhash.cpp')
-rw-r--r--src/util/bytevectorhash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/bytevectorhash.cpp b/src/util/bytevectorhash.cpp
index 29be138eeb..92f1dbd5d8 100644
--- a/src/util/bytevectorhash.cpp
+++ b/src/util/bytevectorhash.cpp
@@ -16,5 +16,5 @@ ByteVectorHash::ByteVectorHash() :
size_t ByteVectorHash::operator()(const std::vector<unsigned char>& input) const
{
- return CSipHasher(m_k0, m_k1).Write(input.data(), input.size()).Finalize();
+ return CSipHasher(m_k0, m_k1).Write(input).Finalize();
}