Browse Source

Test

etomic
jl777 7 years ago
parent
commit
aac14e077e
  1. 1
      iguana/exchanges/LP_prices.c
  2. 2
      iguana/exchanges/LP_signatures.c

1
iguana/exchanges/LP_prices.c

@ -333,7 +333,6 @@ void LP_prices_parse(struct LP_peerinfo *peer,cJSON *obj)
timestamp = now;
if ( timestamp >= pubp->timestamp && (asks= jarray(&n,obj,"asks")) != 0 )
{
//pubp->timestamp = timestamp;
for (i=0; i<n; i++)
{
item = jitem(asks,i);

2
iguana/exchanges/LP_signatures.c

@ -532,9 +532,9 @@ int32_t LP_pubkey_sigcheck(struct LP_pubkeyinfo *pubp,cJSON *item)
memcpy(pubp->sig,sig,sizeof(pubp->sig));
pubp->siglen = siglen;
char str[65]; printf(" -> rmd160.(%s) for %s (%s) sig.%s\n",hexstr,bits256_str(str,pubp->pubkey),pubsecpstr,sigstr);
pubp->timestamp = (uint32_t)time(NULL);
}
retval = 0;
pubp->timestamp = (uint32_t)time(NULL);
} else pubp->numerrors++;
}
}

Loading…
Cancel
Save