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