diff --git a/basilisk/basilisk_DEX.c b/basilisk/basilisk_DEX.c index 9c630dc04..db7fa8e4c 100755 --- a/basilisk/basilisk_DEX.c +++ b/basilisk/basilisk_DEX.c @@ -259,12 +259,12 @@ int32_t basilisk_ping_genDEX(struct supernet_info *myinfo,uint8_t *data,int32_t memcpy(&data[datalen],&item[1],clen+1), datalen += (clen + 1); i++; } - iguana_rwnum(0,(void *)((long)&item[1] + 1),sizeof(timestamp),×tamp); + iguana_rwnum(0,(void *)((long)&item[1] + 1 + sizeof(uint32_t)),sizeof(timestamp),×tamp); if ( now > timestamp + BASILISK_DEXDURATION ) { DL_DELETE(myinfo->DEX_quotes,item); free(item); - } + } else printf("now.%u vs timestamp.%u, lag.%d\n",now,timestamp,now-timestamp); } portable_mutex_unlock(&myinfo->DEX_mutex); sn = i;