X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.h;h=0ef9a9dfc224f932eed1f9536af91b3456a53293;hb=ad18b94e0eb94ad9ed2765667b5a78dd482dfb34;hp=2cb3ea77fb67bcde3d86d2534997aaec45ce393b;hpb=46488ba4fcecb2e255fafc0cd0509339ddf00c3f;p=novacoin.git diff --git a/src/main.h b/src/main.h index 2cb3ea7..0ef9a9d 100644 --- a/src/main.h +++ b/src/main.h @@ -947,7 +947,7 @@ public: uint256 GetHash() const { - return scrypt_blockhash(CVOIDBEGIN(nVersion)); + return scrypt_blockhash((const uint8_t*)&nVersion); } int64_t GetBlockTime() const