fix streamer with ac_pubey requiring ac_perc

This commit is contained in:
blackjok3r
2018-11-18 18:25:07 +08:00
parent 15e072beb9
commit cad34b503d
3 changed files with 32 additions and 35 deletions

View File

@@ -1620,10 +1620,10 @@ void komodo_args(char *argv0)
ASSETCHAINS_COMMISSION = 53846154; // maps to 35%
printf("ASSETCHAINS_COMMISSION defaulted to 35%% when founders reward active\n");
}
else
else if ( ASSETCHAINS_STREAM == 0 )
{
ASSETCHAINS_OVERRIDE_PUBKEY.clear();
printf("-ac_perc must be set with -ac_pubkey\n");
printf("-ac_perc or -ac_stream must be set with -ac_pubkey\n");
}
}
}