test
This commit is contained in:
@@ -367,8 +367,8 @@ uint64_t komodo_seed(int32_t height)
|
|||||||
uint256 hash; uint64_t seed = 0; CBlockIndex *pindex = chainActive[height];
|
uint256 hash; uint64_t seed = 0; CBlockIndex *pindex = chainActive[height];
|
||||||
if ( pindex != 0 )
|
if ( pindex != 0 )
|
||||||
{
|
{
|
||||||
hash = pindex->GetHash();
|
hash = pindex->GetBlockHash();
|
||||||
seed = hash & 0xffffffffffffffff;
|
seed = (uint64_t)hash;
|
||||||
}
|
}
|
||||||
return(seed);
|
return(seed);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user