This commit is contained in:
jl777
2018-12-28 03:37:04 -11:00
parent df7b0fd17c
commit 0b2804b365

View File

@@ -1957,8 +1957,10 @@ void komodo_args(char *argv0)
//printf("baseid.%d MAX_MONEY.%s %.8f\n",baseid,ASSETCHAINS_SYMBOL,(double)MAX_MONEY/SATOSHIDEN);
uint16_t tmpport = komodo_port(ASSETCHAINS_SYMBOL,ASSETCHAINS_SUPPLY,&ASSETCHAINS_MAGIC,extraptr,extralen);
if ( GetArg("-port",0) == 0 )
{
ASSETCHAINS_P2PPORT = GetArg("-port",0);
else ASSETCHAINS_P2PPORT = tmpport;
fprintf(stderr,"set port.%u\n",ASSETCHAINS_P2PPORT);
} else ASSETCHAINS_P2PPORT = tmpport;
while ( (dirname= (char *)GetDataDir(false).string().c_str()) == 0 || dirname[0] == 0 )
{