jl777 8 years ago
parent
commit
73459ff3ee
  1. 2
      basilisk/basilisk.c
  2. 2
      basilisk/basilisk_CMD.c

2
basilisk/basilisk.c

@ -897,7 +897,7 @@ void basilisks_loop(void *arg)
HASH_DELETE(hh,myinfo->messagetable,msg); HASH_DELETE(hh,myinfo->messagetable,msg);
QUEUEITEMS--; QUEUEITEMS--;
free(msg); free(msg);
} else printf("remains.%d\n",msg->expiration - now); } //else printf("remains.%d\n",msg->expiration - now);
} }
portable_mutex_unlock(&myinfo->messagemutex); portable_mutex_unlock(&myinfo->messagemutex);
if ( myinfo->NOTARY.RELAYID >= 0 ) if ( myinfo->NOTARY.RELAYID >= 0 )

2
basilisk/basilisk_CMD.c

@ -96,7 +96,7 @@ char *basilisk_addrelay_info(struct supernet_info *myinfo,uint8_t *pubkey33,uint
if ( pubkey33 != 0 && pubkey33[0] != 0 ) if ( pubkey33 != 0 && pubkey33[0] != 0 )
memcpy(rp->pubkey33,pubkey33,33); memcpy(rp->pubkey33,pubkey33,33);
basilisk_setmyid(myinfo); basilisk_setmyid(myinfo);
printf("updated relay[%d] %x vs mine.%x\n",i,ipbits,myinfo->myaddr.myipbits); //printf("updated relay[%d] %x vs mine.%x\n",i,ipbits,myinfo->myaddr.myipbits);
return(clonestr("{\"error\":\"relay already there\"}")); return(clonestr("{\"error\":\"relay already there\"}"));
} }
} }

Loading…
Cancel
Save