remove some trash

This commit is contained in:
”minicx” 2022-12-06 12:36:50 +03:00
parent cbb877a6e3
commit 927b487672
1 changed files with 3 additions and 6 deletions

View File

@ -142,7 +142,7 @@ const addAccounts: ()=>Promise<void>=async ()=>{
const farm: ()=>Promise<void>=async ()=>{
let usedIP:usedIPInterface[]=[];
const proccesGroup=async (workersGroups:AccountInterface[],ports: portsInterface,container: Docker.Container)=>{
const proccesGroup=async (workersGroups:AccountInterface[],ports: portsInterface)=>{
workersLoop:
@ -250,8 +250,6 @@ const farm: ()=>Promise<void>=async ()=>{
}
return false;
} else {
return true
}
@ -397,8 +395,7 @@ const farm: ()=>Promise<void>=async ()=>{
control:_ports[i*3+2],
minerPort: await miner.port
},
containers[i]
}
));
}
@ -443,7 +440,7 @@ const farm: ()=>Promise<void>=async ()=>{
try{
await farm();
} catch (err){
logger.error(`Unknown error\n${err}`);
logger.error(`Unknown error\n${err.stack}\n${typeof err}`);
break;
}
}