From 0ab04e196462fbfce38c3a5b00859255f178de7d Mon Sep 17 00:00:00 2001 From: ansible Date: Wed, 8 Apr 2026 01:40:20 +0000 Subject: [PATCH] Remove unused writePool function --- src/network.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/network.ts b/src/network.ts index 7c8c012..58c7b3c 100644 --- a/src/network.ts +++ b/src/network.ts @@ -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));