This commit is contained in:
jl777
2016-11-06 13:43:45 -03:00
parent 2e9292fe34
commit bb64c7316e

View File

@@ -367,8 +367,8 @@ uint64_t komodo_seed(int32_t height)
uint256 hash; uint64_t seed = 0; CBlockIndex *pindex = chainActive[height];
if ( pindex != 0 )
{
hash = pindex->GetHash();
seed = hash & 0xffffffffffffffff;
hash = pindex->GetBlockHash();
seed = (uint64_t)hash;
}
return(seed);
}