Remove unused writePool function
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user