Browse Source

Test

etomic
jl777 7 years ago
parent
commit
6f21da3bd8
  1. 5
      iguana/exchanges/LP_signatures.c

5
iguana/exchanges/LP_signatures.c

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

Loading…
Cancel
Save