fix getinfo, cleanup hash

This commit is contained in:
Michael Toutonghi
2018-05-18 02:46:21 -07:00
parent f6608b5a0d
commit cf1e5967ee
3 changed files with 3 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ uint256 CBlockHeader::GetSHA256DHash() const
uint256 CBlockHeader::GetVerusHash() const
{
if (hashPrevBlock == uint256())
if (hashPrevBlock.IsNull())
// always use SHA256D for genesis block
return SerializeHash(*this);
else