forgot enable closing miner

This commit is contained in:
”minicx” 2022-12-10 00:38:49 +03:00
parent 6ef3b1fe6d
commit 33e9c19140
2 changed files with 2 additions and 1 deletions

View File

@ -469,7 +469,7 @@ const farm: () => Promise<void> = async () => {
}
await db.save()
// await miner.close(true);
await miner.close(true);
}
// menu

View File

@ -38,6 +38,7 @@ export const arrayWithoutElementAtIndex = function (arr: AccountInterface[] | []
});
}
export const getIP=async function (proxyPort: number): Promise<string | null> {
// https://github.com/ulixee/unblocked/blob/main/plugins/default-browser-emulator/lib/helpers/lookupPublicIp.ts
let data: string | PromiseLike<string | null> | null
try{
data=(await axios.get('http://api.ipify.org',{