From b5cc4db706474d788f433071a2263ea8d5e7506f Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 19 Sep 2016 09:29:11 -0300 Subject: [PATCH] test --- iguana/iguana_wallet.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/iguana_wallet.c b/iguana/iguana_wallet.c index 92e85106e..1d40058bb 100755 --- a/iguana/iguana_wallet.c +++ b/iguana/iguana_wallet.c @@ -1126,7 +1126,11 @@ cJSON *iguana_getinfo(struct supernet_info *myinfo,struct iguana_info *coin) { addr = &coin->peers->active[i]; if ( addr->usock >= 0 && addr->supernet != 0 && addr->ipaddr[0] != 0 ) + { jaddistr(array,addr->ipaddr); + if ( strcmp(coin->symbol,"NOTARY") == 0 ) + basilisk_addrelay_info(myinfo,0,(uint32_t)calc_ipbits(addr->ipaddr),GENESIS_PUBKEY); + } } jadd(retjson,"supernet",array); jaddnum(retjson,"connections",coin->peers->numranked); @@ -1178,11 +1182,7 @@ ZERO_ARGS(bitcoinrpc,getinfo) if ( strcmp(coin->symbol,"NOTARY") == 0 ) { for (j=0; j