Browse Source

Test

etomic
jl777 7 years ago
parent
commit
2e2e4b11c4
  1. 4
      iguana/exchanges/LP_utxos.c

4
iguana/exchanges/LP_utxos.c

@ -177,7 +177,7 @@ int32_t LP_utxopurge(int32_t allutxos)
{ {
if ( allutxos != 0 || LP_ismine(utxo) > 0 ) if ( allutxos != 0 || LP_ismine(utxo) > 0 )
{ {
printf("delete.(%s)\n",bits256_str(str,utxo->payment.txid)); printf("iambob.%d delete.(%s)\n",iambob,bits256_str(str,utxo->payment.txid));
HASH_DELETE(hh,LP_utxoinfos[iambob],utxo); HASH_DELETE(hh,LP_utxoinfos[iambob],utxo);
//free(utxo); let the LP_utxoinfos2 free the utxo //free(utxo); let the LP_utxoinfos2 free the utxo
} else n++; } else n++;
@ -189,7 +189,7 @@ int32_t LP_utxopurge(int32_t allutxos)
{ {
if ( allutxos != 0 || LP_ismine(utxo) > 0 ) if ( allutxos != 0 || LP_ismine(utxo) > 0 )
{ {
printf("delete.(%s)\n",bits256_str(str,utxo->payment.txid)); printf("iambob.%d delete2.(%s)\n",iambob,bits256_str(str,utxo->payment.txid));
HASH_DELETE(hh,LP_utxoinfos2[iambob],utxo); HASH_DELETE(hh,LP_utxoinfos2[iambob],utxo);
free(utxo); free(utxo);
} else n++; } else n++;

Loading…
Cancel
Save