|
@ -566,7 +566,7 @@ char *InstantDEX_hexmsg(struct supernet_info *myinfo,void *ptr,int32_t len,char |
|
|
else if ( (signerbits= acct777_validate(&msg->sig,acct777_msgprivkey(serdata,datalen),msg->sig.pubkey)) != 0 ) |
|
|
else if ( (signerbits= acct777_validate(&msg->sig,acct777_msgprivkey(serdata,datalen),msg->sig.pubkey)) != 0 ) |
|
|
{ |
|
|
{ |
|
|
flag++; |
|
|
flag++; |
|
|
//printf("InstantDEX_hexmsg <<<<<<<<<<<<< sigsize.%ld VALIDATED [%ld] len.%d t%u allocsize.%d (%s) [%d]\n",sizeof(msg->sig),(long)serdata-(long)msg,datalen,msg->sig.timestamp,msg->sig.allocsize,(char *)msg->serialized,serdata[datalen-1]);
|
|
|
printf("InstantDEX_hexmsg <<<<<<<<<<<<< sigsize.%ld VALIDATED [%ld] len.%d t%u allocsize.%d (%s) [%d]\n",sizeof(msg->sig),(long)serdata-(long)msg,datalen,msg->sig.timestamp,msg->sig.allocsize,(char *)msg->serialized,serdata[datalen-1]); |
|
|
newlen = (int32_t)(msg->sig.allocsize - sizeof(*msg)); |
|
|
newlen = (int32_t)(msg->sig.allocsize - sizeof(*msg)); |
|
|
serdata = msg->serialized; |
|
|
serdata = msg->serialized; |
|
|
if ( (argjson= cJSON_Parse((char *)serdata)) != 0 ) |
|
|
if ( (argjson= cJSON_Parse((char *)serdata)) != 0 ) |
|
|