Browse Source

Test

etomic
jl777 8 years ago
parent
commit
dd750dce14
  1. 2
      iguana/exchanges/LP_commands.c
  2. 2
      iguana/exchanges/LP_ordermatch.c

2
iguana/exchanges/LP_commands.c

@ -283,6 +283,8 @@ trust(pubkey, trust)\n\
return(LP_numutxos());
else if ( strcmp(method,"postprice") == 0 )
retstr = LP_postedprice(argjson);
else if ( strcmp(method,"encrypted") == 0 )
retstr = clonestr("{\"result\":\"success\"}");
//else if ( strcmp(method,"broadcast") == 0 )
// retstr = LP_broadcasted(argjson);
else if ( strcmp(method,"getprices") == 0 )

2
iguana/exchanges/LP_ordermatch.c

@ -406,7 +406,7 @@ int32_t LP_connectstartbob(void *ctx,int32_t pubsock,struct LP_utxoinfo *utxo,cJ
jaddstr(retjson,"pair",pairstr);
jaddnum(retjson,"requestid",qp->R.requestid);
jaddnum(retjson,"quoteid",qp->R.quoteid);
char str[65]; printf("BOB pubsock.%d sends to (%s)\n",pubsock,bits256_str(str,utxo->S.otherpubkey));
char str[65]; printf("BOB pubsock.%d binds to %d (%s)\n",pubsock,pair,bits256_str(str,utxo->S.otherpubkey));
/*if ( pubsock >= 0 )
{
msg = jprint(retjson,0);

Loading…
Cancel
Save