SplitStr
This commit is contained in:
@@ -1665,6 +1665,7 @@ uint64_t komodo_ac_block_subsidy(int nHeight)
|
||||
|
||||
extern int64_t MAX_MONEY;
|
||||
void komodo_cbopretupdate(int32_t forceflag);
|
||||
void SplitStr(const std::string& strVal, std::vector<std::string> outVals);
|
||||
|
||||
void komodo_args(char *argv0)
|
||||
{
|
||||
@@ -1814,9 +1815,9 @@ void komodo_args(char *argv0)
|
||||
ASSETCHAINS_CBOPRET = GetArg("-ac_cbopret",0);
|
||||
if ( ASSETCHAINS_CBOPRET != 0 )
|
||||
{
|
||||
Split(GetArg("-ac_prices",""), ASSETCHAINS_PRICES, 0);
|
||||
SplitStr(GetArg("-ac_prices",""), ASSETCHAINS_PRICES);
|
||||
for (i=0; i<ASSETCHAINS_PRICES.size(); i++)
|
||||
fprintf(stderr,"%s ",ASSETCHAINS_PRICES[i]);
|
||||
fprintf(stderr,"%s ",ASSETCHAINS_PRICES[i].c_str());
|
||||
fprintf(stderr,"%d -ac_prices\n",(int32_t)ASSETCHAINS_PRICES.size());
|
||||
}
|
||||
hexstr = GetArg("-ac_mineropret","");
|
||||
|
||||
Reference in New Issue
Block a user