aboutsummaryrefslogtreecommitdiff
path: root/src/util/hasher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/hasher.cpp')
-rw-r--r--src/util/hasher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/hasher.cpp b/src/util/hasher.cpp
index 81e9b990e1..f571725786 100644
--- a/src/util/hasher.cpp
+++ b/src/util/hasher.cpp
@@ -18,5 +18,5 @@ SaltedSipHasher::SaltedSipHasher() : m_k0(GetRand<uint64_t>()), m_k1(GetRand<uin
size_t SaltedSipHasher::operator()(const Span<const unsigned char>& script) const
{
- return CSipHasher(m_k0, m_k1).Write(script.data(), script.size()).Finalize();
+ return CSipHasher(m_k0, m_k1).Write(script).Finalize();
}