aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/has160/has160.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/has160/has160.cpp')
-rw-r--r--src/lib/hash/has160/has160.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/has160/has160.cpp b/src/lib/hash/has160/has160.cpp
index 2e6981657..2f2a5f9de 100644
--- a/src/lib/hash/has160/has160.cpp
+++ b/src/lib/hash/has160/has160.cpp
@@ -68,7 +68,7 @@ void HAS_160::compress_n(const byte input[], size_t blocks)
for(size_t i = 0; i != blocks; ++i)
{
- load_le(&X[0], input, 16);
+ load_le(X.data(), input, 16);
X[16] = X[ 0] ^ X[ 1] ^ X[ 2] ^ X[ 3];
X[17] = X[ 4] ^ X[ 5] ^ X[ 6] ^ X[ 7];