mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-26 14:34:16 +00:00
core: set default algorithm for when neither --algorithm nor --nfactor are provided.
This commit is contained in:
parent
c6a27709f8
commit
a3f9b24c69
@ -7851,7 +7851,9 @@ int main(int argc, char *argv[])
|
|||||||
strcat(sgminer_path, "\\");
|
strcat(sgminer_path, "\\");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Default algorithm specified in algorithm.c ATM */
|
||||||
algorithm = (algorithm_t *)alloca(sizeof(algorithm_t));
|
algorithm = (algorithm_t *)alloca(sizeof(algorithm_t));
|
||||||
|
set_algorithm(algorithm, "default");
|
||||||
|
|
||||||
devcursor = 8;
|
devcursor = 8;
|
||||||
logstart = devcursor + 1;
|
logstart = devcursor + 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user