Browse Source

Test

etomic
jl777 7 years ago
parent
commit
240d250f68
  1. 2
      iguana/exchanges/LP_utxo.c
  2. 1
      iguana/exchanges/invreset

2
iguana/exchanges/LP_utxo.c

@ -52,7 +52,7 @@ void cJSON_unregister(cJSON *item)
static uint32_t lasttime;
char *tmpstr,str[65]; int32_t n; uint64_t total; struct cJSON_list *ptr,*tmp;
printf("unregister %p\n",item);
if ( time(NULL) > lasttime+600 )
if ( time(NULL) > lasttime+6 )
{
n = 0;
total = 0;

1
iguana/exchanges/invreset

@ -1,3 +1,4 @@
#!/bin/bash
source userpass
source passphrase
curl --url "http://127.0.0.1:7783" --data "{\"userpass\":\"$userpass\",\"method\":\"inventory\",\"coin\":\"KMD\",\"reset\":1,\"passphrase\":\"$passphrase\"}"

Loading…
Cancel
Save