Revert Getscriptaddress and set COINBASE_MATURITY to 1 on chains with less than one era

This commit is contained in:
miketout
2018-11-18 08:20:34 -08:00
parent b3b44e80e1
commit 3e5a1aba52
3 changed files with 6 additions and 7 deletions

View File

@@ -1916,7 +1916,7 @@ void komodo_args(char *argv0)
if ( (port= komodo_userpass(ASSETCHAINS_USERPASS,ASSETCHAINS_SYMBOL)) != 0 )
ASSETCHAINS_RPCPORT = port;
else komodo_configfile(ASSETCHAINS_SYMBOL,ASSETCHAINS_P2PPORT + 1);
if (ASSETCHAINS_LASTERA == 0 && ASSETCHAINS_REWARD[0] == 0)
if (ASSETCHAINS_LASTERA == 0)
COINBASE_MATURITY = 1;
//fprintf(stderr,"ASSETCHAINS_RPCPORT (%s) %u\n",ASSETCHAINS_SYMBOL,ASSETCHAINS_RPCPORT);
}