Browse Source

Test

etomic
jl777 8 years ago
parent
commit
68228f80eb
  1. 4
      iguana/exchanges/LP_commands.c

4
iguana/exchanges/LP_commands.c

@ -256,9 +256,9 @@ int32_t LP_command(struct LP_peerinfo *mypeer,int32_t pubsock,cJSON *argjson,uin
if ( strcmp(method,"price") == 0 || strcmp(method,"request") == 0 )
{
retval = 1;
if ( utxo->swappending == 0 && utxo->pair < 0 )
if ( utxo->swappending == 0 )
{
if ( utxo->pair >= 0 )
if ( strcmp(method,"request") == 0 && utxo->pair >= 0 )
nn_close(utxo->pair), utxo->pair = -1;
if ( (price= LP_price(base,rel)) != 0. )
{

Loading…
Cancel
Save