Browse Source

Test

etomic
jl777 8 years ago
parent
commit
e6336ef2ef
  1. 5
      iguana/exchanges/LP_utxos.c

5
iguana/exchanges/LP_utxos.c

@ -281,7 +281,12 @@ int32_t LP_utxosparse(int32_t amclient,struct LP_peerinfo *mypeer,int32_t mypubs
//printf("parse.(%s)\n",jprint(item,0));
utxo = LP_addutxo(amclient,mypeer,mypubsock,jstr(item,"coin"),txid,jint(item,"vout"),j64bits(item,"value"),jbits256(item,"txid2"),jint(item,"vout2"),j64bits(item,"value2"),jstr(item,"script"),jstr(item,"address"),argipaddr,argport,jdouble(item,"profit"));
if ( utxo != 0 )
{
struct LP_quoteinfo Q;
memset(&Q,0,sizeof(Q));
utxo->lasttime = now;
LP_query("price",&Q,utxo->ipaddr,utxo->port,utxo->coin,"KMD",utxo->mypub);
}
}
} // else printf("skip.(%s)\n",jprint(item,0));
}

Loading…
Cancel
Save