diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 9f4905612..c199b9ac1 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -907,7 +907,7 @@ void basilisks_init(struct supernet_info *myinfo) void basilisk_msgprocess(struct supernet_info *myinfo,void *addr,uint32_t senderipbits,char *type,uint32_t basilisktag,uint8_t *data,int32_t datalen,bits256 pubkey) { - cJSON *valsobj; char *symbol,*retstr=0,remoteaddr[64],CMD[4],cmd[4]; int32_t origlen,from_basilisk,i,timeoutmillis,numrequired,jsonlen; uint8_t *origdata; struct iguana_info *coin=0; + cJSON *valsobj; char *symbol,*retstr=0,remoteaddr[64],CMD[4],cmd[4]; int32_t origlen,from_basilisk,i,timeoutmillis,flag,numrequired,jsonlen; uint8_t *origdata; struct iguana_info *coin=0; static basilisk_servicefunc *basilisk_services[][2] = { { (void *)"RUN", &basilisk_respond_dispatch }, // higher level protocol handler, pass through @@ -943,6 +943,14 @@ void basilisk_msgprocess(struct supernet_info *myinfo,void *addr,uint32_t sender { (void *)"VAL", &_basilisk_value }, { (void *)"BAL", &_basilisk_balances }, }; + for (i=flag=0; i