From abc0700b9bf559924dafac8f5a7e10d910e9641b Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 12 Sep 2016 10:37:31 -0300 Subject: [PATCH] test --- basilisk/basilisk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 94dd6ba87..9eb552de3 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -188,15 +188,15 @@ int32_t basilisk_sendcmd(struct supernet_info *myinfo,char *destipaddr,char *typ printf("basilisk send -> (%s)\n",destipaddr); if ( destipaddr != 0 ) { - if ( coin->FULLNODE == 0 && coin->VALIDATENODE == 0 ) - cmd[0] = 's'; - else cmd[0] = 'S'; cmd[6] = 'E', cmd[7] = 'T'; HASH_ITER(hh,myinfo->allcoins,coin,tmp) { printf("basilisk iter.(%s) -> (%s) %p\n",coin->symbol,destipaddr,coin->peers); if ( coin->peers == 0 ) continue; + if ( coin->FULLNODE == 0 && coin->VALIDATENODE == 0 ) + cmd[0] = 's'; + else cmd[0] = 'S'; for (i=0; ipeers->active[i];