1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

core: set default algorithm for when neither --algorithm nor --nfactor are provided.

This commit is contained in:
Noel Maersk 2014-03-07 02:21:09 +02:00
parent c6a27709f8
commit a3f9b24c69

View File

@ -7851,7 +7851,9 @@ int main(int argc, char *argv[])
strcat(sgminer_path, "\\");
#endif
/* Default algorithm specified in algorithm.c ATM */
algorithm = (algorithm_t *)alloca(sizeof(algorithm_t));
set_algorithm(algorithm, "default");
devcursor = 8;
logstart = devcursor + 1;