This commit is contained in:
jl777
2016-11-19 13:53:21 -03:00
parent 3085016b48
commit 335f2ea740
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ int32_t komodo_parsestatefile(struct komodo_state *sp,FILE *fp,char *symbol,char
if ( numpvals*sizeof(uint32_t) <= sizeof(pvals) && fread(pvals,sizeof(uint32_t),numpvals,fp) == numpvals )
{
//if ( matched != 0 ) global shared state -> global PVALS
printf("%s load[%s] prices %d\n",ASSETCHAINS_SYMBOL,symbol,ht);
//printf("%s load[%s] prices %d\n",ASSETCHAINS_SYMBOL,symbol,ht);
komodo_eventadd_pricefeed(sp,symbol,ht,pvals,numpvals);
//printf("load pvals ht.%d numpvals.%d\n",ht,numpvals);
} else printf("error loading pvals[%d]\n",numpvals);

View File

@@ -24,7 +24,7 @@ int32_t komodo_isrealtime(int32_t *kmdheightp,char *target);
pthread_mutex_t komodo_mutex;
#define KOMODO_ELECTION_GAP ((ASSETCHAINS_SYMBOL[0] == 0) ? 2000 : 100)
#define KOMODO_ELECTION_GAP 2000 //((ASSETCHAINS_SYMBOL[0] == 0) ? 2000 : 100)
struct pax_transaction *PAX;
int32_t NUM_PRICES; uint32_t *PVALS;