Browse Source

Test

etomic
jl777 8 years ago
parent
commit
74d48ad220
  1. 6
      iguana/exchanges/LP_utxos.c

6
iguana/exchanges/LP_utxos.c

@ -273,15 +273,15 @@ int32_t LP_iseligible(uint64_t *valp,uint64_t *val2p,int32_t iambob,char *symbol
{ {
if ( strcmp(destaddr,destaddr2) != 0 ) if ( strcmp(destaddr,destaddr2) != 0 )
printf("mismatched %s destaddr %s vs %s\n",symbol,destaddr,destaddr2); printf("mismatched %s destaddr %s vs %s\n",symbol,destaddr,destaddr2);
else if ( (iambob == 0 && val2 >= val) || (iambob != 0 && val2 < val) ) //else if ( (iambob == 0 && val2 >= val) || (iambob != 0 && val2 < satoshis) )
printf("ineligible due to offsides: val %.8f and val2 %.8f vs %.8f\n",dstr(val),dstr(val2),dstr(satoshis)); // printf("iambob.%d ineligible due to offsides: val %.8f and val2 %.8f vs %.8f\n",iambob,dstr(val),dstr(val2),dstr(satoshis));
else else
{ {
*valp = val; *valp = val;
*val2p = val2; *val2p = val2;
return(1); return(1);
} }
} } else printf("no val2\n");
} else printf("mismatched %s txid value %.8f < %.8f\n",symbol,dstr(val),dstr(satoshis)); } else printf("mismatched %s txid value %.8f < %.8f\n",symbol,dstr(val),dstr(satoshis));
*valp = val; *valp = val;
*val2p = val2; *val2p = val2;

Loading…
Cancel
Save