From 2501de9d12d0c2857f9a28e5657f4bde1c2e4345 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 22 Oct 2017 08:39:14 -0400 Subject: [PATCH] fixed typo --- src/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.h b/src/main.h index c9e77cc..ec73679 100644 --- a/src/main.h +++ b/src/main.h @@ -796,7 +796,7 @@ public: CHashWriter hasher(SER_GETHASH, PROTOCOL_VERSION); hasher << hashBlock; hasher << *this; - fileout << (nBestHeight >= HARDFORK_BLOCK1) ? hasher.GetHashHF1 () : hasher.GetHash(); + fileout << ((nBestHeight >= HARDFORK_BLOCK1) ? hasher.GetHashHF1 () : hasher.GetHash()); // Flush stdio buffers and commit to disk before returning fflush(fileout);