From 2a09d34ab9436a9d030a141c0039c7404e30e93c Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 15 Apr 2016 18:00:23 -0500 Subject: [PATCH] test --- iguana/SuperNET.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index aff7da6ab..5afbc820e 100755 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -678,7 +678,7 @@ char *SuperNET_JSON(struct supernet_info *myinfo,cJSON *json,char *remoteaddr,ui //printf("SuperNET_JSON.(%s) remote.(%s)\n",jprint(json,0),remoteaddr!=0?remoteaddr:""); destflag = SuperNET_destination(myinfo,&destipbits,&category,&subhash,&maxdelay,json,remoteaddr); //printf("destflag.%d\n",destflag); - if ( (hexmsg= jstr(json,"hexmsg")) == 0 && strcmp(method,"bitcoinrpc") != 0 && (message= jstr(json,"message")) == 0 ) + if ( method != 0 && (hexmsg= jstr(json,"hexmsg")) == 0 && strcmp(method,"bitcoinrpc") != 0 && (message= jstr(json,"message")) == 0 ) { jsonstr = jprint(json,0); hexlen = (int32_t)strlen(jsonstr);