Browse Source

test

olddPoW
jl777 8 years ago
parent
commit
2f1e7055a2
  1. 6
      iguana/iguana_chains.c

6
iguana/iguana_chains.c

@ -324,7 +324,11 @@ void iguana_chainparms(struct supernet_info *myinfo,struct iguana_chain *chain,c
if ( (chain->rpcport= juint(argjson,"rpc")) == 0 && strcmp(chain->symbol,"RELAY") != 0 )
{
if ( chain->portp2p != 0 )
chain->rpcport = chain->portp2p+1;
{
if ( strcmp(chain->symbol,"BTC") == 0 )
chain->rpcport = chain->portp2p+1;
else chain->rpcport = chain->portp2p-1;
}
}
if ( chain->portp2p == 0 )
{

Loading…
Cancel
Save