1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-29 16:04:32 +00:00

fixed typo

This commit is contained in:
orignal 2017-10-22 08:39:14 -04:00
parent 0ac8bdc35a
commit 2501de9d12

View File

@ -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);