From b13c18d7e569b92c965caf7abbd1637c0684fcc7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 20 Sep 2016 12:45:29 -0300 Subject: [PATCH] test --- basilisk/basilisk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 1013a53c4..a1a1a4b07 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -742,9 +742,8 @@ void basilisk_msgprocess(struct supernet_info *myinfo,void *_addr,uint32_t sende { if ( strcmp((char *)basilisk_services[i][0],type) == 0 ) { - if ( coin->FULLNODE != 0 || myinfo->NOTARY.RELAYID >= 0 ) // iguana node + if ( (coin != 0 && coin->FULLNODE != 0) || myinfo->NOTARY.RELAYID >= 0 ) // iguana node { - //printf("FULL.%d RELAYID.%d NUMRELAYS.%d services %s\n",coin->FULLNODE,RELAYID,NUMRELAYS,type); if ( (retstr= (*basilisk_services[i][1])(myinfo,type,addr,remoteaddr,basilisktag,valsobj,data,datalen,hash,from_basilisk)) != 0 ) { //printf("from_basilisk.%d ret.(%s)\n",from_basilisk,retstr);