Browse Source

Test

etomic
jl777 8 years ago
parent
commit
2bf6330c7b
  1. 4
      iguana/exchanges/LP_utxos.c

4
iguana/exchanges/LP_utxos.c

@ -61,9 +61,9 @@ struct LP_utxoinfo *LP_utxo2find(bits256 txid,int32_t vout)
struct LP_utxoinfo *utxo=0; uint8_t key[sizeof(txid) + sizeof(vout)];
memcpy(key,txid.bytes,sizeof(txid));
memcpy(&key[sizeof(txid)],&vout,sizeof(vout));
portable_mutex_lock(&LP_utxomutex);
//portable_mutex_lock(&LP_utxomutex);
utxo = _LP_utxo2find(txid,vout);
portable_mutex_unlock(&LP_utxomutex);
//portable_mutex_unlock(&LP_utxomutex);
return(utxo);
}

Loading…
Cancel
Save