This commit is contained in:
jl777
2016-11-08 16:55:54 -03:00
parent 1516f2054f
commit 0dca8d4c1c

View File

@@ -111,7 +111,7 @@ void komodo_gateway_deposit(char *coinaddr,uint64_t value,int32_t shortflag,char
if ( addflag != 0 ) if ( addflag != 0 )
printf("[%s] addflag.%d ADD DEPOSIT %s %.8f -> %s TO PAX ht.%d otherht.%d total %.8f\n",ASSETCHAINS_SYMBOL,addflag,symbol,dstr(fiatoshis),coinaddr,height,otherheight,dstr(komodo_paxtotal())); printf("[%s] addflag.%d ADD DEPOSIT %s %.8f -> %s TO PAX ht.%d otherht.%d total %.8f\n",ASSETCHAINS_SYMBOL,addflag,symbol,dstr(fiatoshis),coinaddr,height,otherheight,dstr(komodo_paxtotal()));
} }
else printf("%p MARKED.%d DEPOSIT %s %.8f -> %s TO PAX ht.%d otherht.%d\n",pax,pax->marked,symbol,dstr(fiatoshis),coinaddr,height,otherheight); //else printf("%p MARKED.%d DEPOSIT %s %.8f -> %s TO PAX ht.%d otherht.%d\n",pax,pax->marked,symbol,dstr(fiatoshis),coinaddr,height,otherheight);
} }
else else
{ {
@@ -289,10 +289,7 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
} }
if ( matched != num ) if ( matched != num )
{ {
if ( opcode == 'X' ) // can easily happen depending on order of loading
printf("matched.%d vs num.%d\n",matched,num);
//if ( height > 60000 )
// return(-1);
} }
} }
//printf("opretlen.%d num.%d\n",opretlen,num); //printf("opretlen.%d num.%d\n",opretlen,num);