Browse Source

Test

etomic
jl777 7 years ago
parent
commit
29288d23ed
  1. 4
      iguana/exchanges/LP_utxos.c

4
iguana/exchanges/LP_utxos.c

@ -172,8 +172,8 @@ struct LP_utxoinfo *LP_addutxo(int32_t amclient,struct LP_peerinfo *mypeer,int32
printf("LP node got localhost utxo\n"); printf("LP node got localhost utxo\n");
return(0); return(0);
} }
if ( IAMCLIENT == 0 || value2 < 9 * (value >> 3) + 100000 ) if ( IAMCLIENT == 0 && value2 < 9 * (value >> 3) + 100000 )
tmpsatoshis = ((value2 / 9) << 3) - 100000; tmpsatoshis = (((value2-100000) / 9) << 3);
else tmpsatoshis = value; else tmpsatoshis = value;
if ( (utxo= LP_utxofind(txid,vout)) != 0 ) if ( (utxo= LP_utxofind(txid,vout)) != 0 )
{ {

Loading…
Cancel
Save