diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 74c70971e..335f6867c 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -94,10 +94,6 @@ void dex_init(struct supernet_info *myinfo) printf("seed.[%d] <- %s\n",i,seeds[j]); strcpy(myinfo->dexseed_ipaddrs[i],seeds[j]); myinfo->dexipbits[i] = (uint32_t)calc_ipbits(myinfo->dexseed_ipaddrs[i]); -#ifdef NOTARY_TESTMODE - i = 1; - break; -#endif } myinfo->numdexipbits = i; portable_mutex_init(&myinfo->dexmutex); diff --git a/iguana/iguana777.h b/iguana/iguana777.h index b02a38a68..778ab3806 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -164,7 +164,12 @@ struct supernet_info struct liquidity_info linfos[512]; cJSON *liquidity_currencies; struct pending_trade *trades; portable_mutex_t pending_mutex; struct komodo_notaries NOTARY; char seedipaddr[64]; uint32_t dpowipbits[128]; int32_t numdpowipbits; portable_mutex_t notarymutex,dpowmutex; - char dexseed_ipaddrs[2][64]; uint32_t dexipbits[128]; int32_t numdexipbits; portable_mutex_t dexmutex; +#ifdef NOTARY_TESTMODE + char dexseed_ipaddrs[1][64]; +#else + char dexseed_ipaddrs[8][64]; +#endif + uint32_t dexipbits[128]; int32_t numdexipbits; portable_mutex_t dexmutex; // compatibility bits256 pangea_category,instantdex_category; uint8_t logs[256],exps[510];