Small fixes

This commit is contained in:
Michele Marcucci 2024-04-24 07:59:10 +02:00
parent 9bc6a5ab84
commit a34dfb5d01
2 changed files with 3 additions and 2 deletions

View File

@ -189,7 +189,7 @@ module.exports.typeDefs = `
} }
type MinerStatsCkpoolPool { type MinerStatsCkpoolPool {
runtime: Int runtime: Float
lastupdate: Int lastupdate: Int
Users: Int Users: Int
Workers: Int Workers: Int

View File

@ -264,7 +264,8 @@ module.exports.auth = {
await fsPromises.writeFile(configBitcoinFilePath, conf); await fsPromises.writeFile(configBitcoinFilePath, conf);
exec('sudo systemctl restart node'); exec('sudo systemctl stop node');
exec('sudo systemctl start node');
} catch (err) { } catch (err) {
console.log('ERR manageBitcoinConf', err); console.log('ERR manageBitcoinConf', err);
} }