diff options
Diffstat (limited to 'src/lib/hash/has160/has160.cpp')
-rw-r--r-- | src/lib/hash/has160/has160.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/hash/has160/has160.cpp b/src/lib/hash/has160/has160.cpp index 6890ccb85..fa14b5dca 100644 --- a/src/lib/hash/has160/has160.cpp +++ b/src/lib/hash/has160/has160.cpp @@ -144,8 +144,7 @@ void HAS_160::compress_n(const byte input[], size_t blocks) */ void HAS_160::copy_out(byte output[]) { - for(size_t i = 0; i != output_length(); i += 4) - store_le(digest[i/4], output + i); + copy_out_vec_le(output, output_length(), digest); } /* |