Remove unused writePool function

This commit is contained in:
2026-04-08 01:40:20 +00:00
parent 100bb98e62
commit 0ab04e1964

View File

@@ -195,10 +195,6 @@ function readPool(): IpPool {
}
}
function writePool(pool: IpPool) {
writeFileSync(CONFIG.ipPoolFile, JSON.stringify(pool));
}
function atomicWritePool(pool: IpPool) {
const tmp = CONFIG.ipPoolFile + ".tmp";
writeFileSync(tmp, JSON.stringify(pool));