Browse Source

Test

etomic
jl777 8 years ago
parent
commit
907e5fcd87
  1. 4
      iguana/exchanges/LP_commands.c

4
iguana/exchanges/LP_commands.c

@ -426,11 +426,9 @@ forwardhex(pubkey,hex)\n\
retstr = LP_utxos(1,LP_mypeer,jstr(argjson,"coin"),jint(argjson,"lastn"));
else if ( strcmp(method,"notified") == 0 )
{
printf("utxonotify.(%s)\n",jprint(argjson,0));
if ( juint(argjson,"timestamp") > time(NULL)-60 )
{
printf("utxonotify.(%s)\n",jprint(argjson,0));
LP_utxoaddjson(1,LP_mypubsock,argjson);
}
retstr = clonestr("{\"result\":\"success\",\"notifyutxo\":\"received\"}");
}
else if ( IAMLP != 0 )

Loading…
Cancel
Save