diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 3da2d2af4..bf2a0441b 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -82,8 +82,8 @@ void dex_init(struct supernet_info *myinfo) while ( 1 ) { j = (rand() % (sizeof(seeds)/sizeof(*seeds))); - if ( i == 0 ) - j = 0; + if ( i < 2 ) + j = i; if ( ((1 << j) & mask) == 0 ) break; } diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 5ccae82ba..aba70cf83 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -133,7 +133,7 @@ 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[8][64]; uint32_t dexipbits[128]; int32_t numdexipbits; portable_mutex_t dexmutex; + char dexseed_ipaddrs[3][64]; uint32_t dexipbits[128]; int32_t numdexipbits; portable_mutex_t dexmutex; // compatibility bits256 pangea_category,instantdex_category; uint8_t logs[256],exps[510];