Test
This commit is contained in:
@@ -1566,7 +1566,7 @@ int32_t komodo_opretvalidate(int32_t nHeight,CScript scriptPubKey)
|
|||||||
GetOpReturnData(scriptPubKey,vopret);
|
GetOpReturnData(scriptPubKey,vopret);
|
||||||
if ( vopret.size() == sizeof(pricebits) )
|
if ( vopret.size() == sizeof(pricebits) )
|
||||||
{
|
{
|
||||||
memcpy(pricebits,&vpopret[0],sizeof(pricebits));
|
memcpy(pricebits,&vopret[0],sizeof(pricebits));
|
||||||
lag = (int32_t)(time(NULL) - pricebits[0]);
|
lag = (int32_t)(time(NULL) - pricebits[0]);
|
||||||
fprintf(stderr,"ht.%d: t%u lag.%d %.4f USD, %.4f GBP, %.4f EUR\n",nHeight,pricebits[0],lag,(double)pricebits[1]/10000,(double)pricebits[2]/10000,(double)pricebits[3]/10000);
|
fprintf(stderr,"ht.%d: t%u lag.%d %.4f USD, %.4f GBP, %.4f EUR\n",nHeight,pricebits[0],lag,(double)pricebits[1]/10000,(double)pricebits[2]/10000,(double)pricebits[3]/10000);
|
||||||
return(0);
|
return(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user