Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
d7172c06b1
  1. 3
      iguana/iguana_json.c

3
iguana/iguana_json.c

@ -682,7 +682,8 @@ TWO_STRINGS(iguana,addnode,activecoin,ipaddr)
i--;
else coin->peers.numranked = n+1;
coin->peers.ranked[i] = addr;
}
printf("set (%s) -> slot.%d numranked.%d\n",ipaddr,i,coin->peers.numranked);
} else printf("(%s) is already peer.%d\n",ipaddr,i);
}
return(clonestr("{\"result\":\"peer was already connected\"}"));
}

Loading…
Cancel
Save