jl777 8 years ago
parent
commit
dc1cd978a5
  1. 2
      basilisk/basilisk_MSG.c
  2. 4
      iguana/main.c

2
basilisk/basilisk_MSG.c

@ -242,7 +242,7 @@ char *basilisk_respond_OUT(struct supernet_info *myinfo,char *CMD,void *addr,cha
duration = BASILISK_MSGDURATION;
}
//char str[65]; printf("add message.[%d] %s from.%s\n",datalen,bits256_str(str,hash),remoteaddr);
retstr = basilisk_respond_addmessage(myinfo,key,keylen,data,datalen,1,duration);
retstr = basilisk_respond_addmessage(myinfo,key,keylen,data,datalen,0,duration);
// printf("OUT keylen.%d datalen.%d\n",keylen,datalen);
return(retstr);
}

4
iguana/main.c

@ -1585,8 +1585,8 @@ void iguana_main(void *arg)
myinfo = SuperNET_MYINFO(0);
libgfshare_init(myinfo,myinfo->logs,myinfo->exps);
myinfo->rpcport = IGUANA_RPCPORT;
myinfo->rpcport = IGUANA_NOTARYPORT;
myinfo->IAMNOTARY = 1;
//myinfo->rpcport = IGUANA_NOTARYPORT;
//myinfo->IAMNOTARY = 1;
if ( arg != 0 )
{
if ( strcmp((char *)arg,"OStests") == 0 )

Loading…
Cancel
Save