Browse Source

test

release/v0.1
jl777 8 years ago
parent
commit
c94d5a1b42
  1. 2
      basilisk/basilisk_CMD.c

2
basilisk/basilisk_CMD.c

@ -42,7 +42,7 @@ char *basilisk_addrelay_info(struct supernet_info *myinfo,uint8_t *pubkey33,uint
{
if ( bits256_cmp(GENESIS_PUBKEY,pubkey) != 0 && bits256_nonz(pubkey) != 0 )
rp->pubkey = pubkey;
if ( pubkey33[0] != 0 )
if ( pubkey33 != 0 && pubkey33[0] != 0 )
memcpy(rp->pubkey33,pubkey33,33);
printf("updated %x\n",ipbits);
return(clonestr("{\"error\":\"relay already there\"}"));

Loading…
Cancel
Save