mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-03-20 04:46:14 -04:00
change log message to 'Mining started'
This commit is contained in:
parent
5af9e447f1
commit
f34d380711
@ -3425,7 +3425,7 @@ async function startMining(): Promise<boolean> {
|
||||
try {
|
||||
const numThreads = getBaseCurrencyNetwork() === BaseCurrencyNetwork.XMR_LOCAL ? 1 : Math.max(1, Math.floor(os.cpus().length * TestConfig.maxCpuPct));
|
||||
await monerod.startMining(await fundingWallet.getPrimaryAddress(), numThreads);
|
||||
HavenoUtils.log(2, "Mining started successfully");
|
||||
HavenoUtils.log(2, "Mining started");
|
||||
return true;
|
||||
} catch (err: any) {
|
||||
if (err.message !== "Already mining") throw err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user