aboutsummaryrefslogtreecommitdiffstats
path: root/src/sha160.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sha160.cpp')
-rw-r--r--src/sha160.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sha160.cpp b/src/sha160.cpp
index 4ffb34fa2..a61c556aa 100644
--- a/src/sha160.cpp
+++ b/src/sha160.cpp
@@ -112,6 +112,7 @@ void SHA_160::copy_out(byte output[])
void SHA_160::clear() throw()
{
MDx_HashFunction::clear();
+ W.clear();
digest[0] = 0x67452301;
digest[1] = 0xEFCDAB89;
digest[2] = 0x98BADCFE;