Browse Source

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

build-mingw
Noel Maersk 11 years ago
parent
commit
a3f9b24c69
  1. 2
      sgminer.c

2
sgminer.c

@ -7851,7 +7851,9 @@ int main(int argc, char *argv[]) @@ -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;

Loading…
Cancel
Save