test
This commit is contained in:
@@ -368,7 +368,7 @@ uint64_t komodo_seed(int32_t height)
|
||||
if ( pindex != 0 )
|
||||
{
|
||||
hash = pindex->GetBlockHash();
|
||||
seed = hash.GetLow64();
|
||||
seed = arith_uint256(hash).GetLow64();
|
||||
}
|
||||
return(seed);
|
||||
}
|
||||
|
||||
@@ -393,7 +393,7 @@ uint64_t komodo_paxprice(int32_t height,char *base,char *rel,uint64_t basevolume
|
||||
}
|
||||
sum /= densum;
|
||||
sum = (sum * basevolume) / COIN;
|
||||
printf("sum %.8f densum %.8f basevol %.8f\n",dstr(sum),dstr(densum),dstr(basevolume));
|
||||
printf("seed.%llx sum %.8f densum %.8f basevol %.8f\n",(long long)seed,dstr(sum),dstr(densum),dstr(basevolume));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user