Browse Source

Test

etomic
jl777 7 years ago
parent
commit
828b19046c
  1. 2
      iguana/exchanges/LP_utxo.c
  2. 2
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_utxo.c

@ -987,7 +987,7 @@ int32_t LP_inventory_prevent(int32_t iambob,char *symbol,bits256 txid,int32_t vo
}
if ( utxo->T.spentflag != 0 )
{
char str[65]; printf("prevent adding iambob.%d %s/v%d to inventory\n",iambob,bits256_str(str,txid),vout);
//char str[65]; printf("prevent adding iambob.%d %s/v%d to inventory\n",iambob,bits256_str(str,txid),vout);
return(1);
}
}

2
iguana/exchanges/LP_utxos.c

@ -539,7 +539,7 @@ int32_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypri
satoshis = LP_txvalue(destaddr,coin->symbol,txid,vout);
if ( satoshis != 0 && satoshis != value )
printf("%s %s privkey_init value %.8f vs %.8f (%s) %.8f %.8f\n",coin->symbol,coin->smartaddr,dstr(satoshis),dstr(value),jprint(item,0),jdouble(item,"amount"),jdouble(item,"interest"));
if ( LP_inventory_prevent(iambob,coin->symbol,txid,vout) == 0 && height > 0 )
if ( LP_inventory_prevent(iambob,coin->symbol,txid,vout) != 0 )//&& height > 0 )
{
printf("PREVENT %s\n",jprint(item,0));
values[i] = satoshis;

Loading…
Cancel
Save